1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
4 from django.db import models, migrations
6 from django.conf import settings
9 class Migration(migrations.Migration):
12 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
16 migrations.CreateModel(
19 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
22 migrations.CreateModel(
25 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
26 ('author_name', models.CharField(help_text='Used if author is not set.', max_length=128, null=True, verbose_name='author name', blank=True)),
27 ('author_email', models.CharField(help_text='Used if author is not set.', max_length=128, null=True, verbose_name='author email', blank=True)),
28 ('description', models.TextField(default='', verbose_name='description', blank=True)),
29 ('created_at', models.DateTimeField(default=datetime.datetime.now, editable=False, db_index=True)),
30 ('author', models.ForeignKey(verbose_name='author', blank=True, to=settings.AUTH_USER_MODEL, null=True)),
31 ('merge_parent', models.ForeignKey(related_name='merge_children', default=None, blank=True, to='dvcs.Revision', null=True, verbose_name='merge parent')),
32 ('parent', models.ForeignKey(related_name='children', default=None, blank=True, to='dvcs.Revision', null=True, verbose_name='parent')),
35 'ordering': ('created_at',),
36 'verbose_name': 'revision',
37 'verbose_name_plural': 'revisions',
43 field=models.ForeignKey(default=None, editable=False, to='dvcs.Revision', blank=True, help_text="The document's revision.", null=True, verbose_name='revision'),