better ordering for tags
[redakcja.git] / apps / catalogue / migrations / 0003_plan.py
1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
3
4 from django.db import models, migrations
5 from django.conf import settings
6
7
8 class Migration(migrations.Migration):
9
10     dependencies = [
11         migrations.swappable_dependency(settings.AUTH_USER_MODEL),
12         ('catalogue', '0002_document_assigned_to'),
13     ]
14
15     operations = [
16         migrations.CreateModel(
17             name='Plan',
18             fields=[
19                 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
20                 ('stage', models.CharField(max_length=128)),
21                 ('deadline', models.DateField(null=True, blank=True)),
22                 ('document', models.ForeignKey(to='catalogue.Document')),
23                 ('user', models.ForeignKey(to=settings.AUTH_USER_MODEL, null=True)),
24             ],
25         ),
26     ]