1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
4 from django.db import models, migrations
5 import django.contrib.auth.models
6 from django.conf import settings
9 class Migration(migrations.Migration):
12 ('auth', '0006_require_contenttypes_0002'),
13 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
14 ('dvcs', '__first__'),
15 ('organizations', '__first__'),
19 migrations.CreateModel(
22 ('ref_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='dvcs.Ref')),
23 ('stage', models.CharField(default='', max_length=128, verbose_name='stage', blank=True)),
24 ('owner_organization', models.ForeignKey(to='organizations.Organization', null=True)),
27 'verbose_name': 'document',
28 'verbose_name_plural': 'documents',
32 migrations.CreateModel(
35 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
36 ('name', models.CharField(max_length=255)),
37 ('content', models.TextField()),
38 ('is_main', models.BooleanField()),
39 ('is_partial', models.BooleanField()),
42 migrations.CreateModel(
51 (b'objects', django.contrib.auth.models.UserManager()),
55 model_name='document',
57 field=models.ForeignKey(to=settings.AUTH_USER_MODEL, null=True),