add Topik object, wrapper around Page
[django-panik-combo.git] / panikombo / migrations / 0005_topik.py
1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
3
4 from django.db import models, migrations
5 import panikombo.models
6
7
8 class Migration(migrations.Migration):
9
10     dependencies = [
11         ('data', '0005_auto_20150226_0903'),
12         ('panikombo', '0004_newsitemautoselectioncell'),
13     ]
14
15     operations = [
16         migrations.CreateModel(
17             name='Topik',
18             fields=[
19                 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
20                 ('image', models.ImageField(max_length=250, upload_to=panikombo.models.get_topik_image_path, null=True, verbose_name='Image', blank=True)),
21                 ('got_focus', models.DateTimeField(default=None, null=True, blank=True)),
22                 ('has_focus', models.BooleanField(default=False)),
23                 ('page', models.ForeignKey(to='data.Page')),
24             ],
25             options={
26             },
27             bases=(models.Model,),
28         ),
29     ]