32 lines
898 B
Python
32 lines
898 B
Python
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('documents', '0027_auto_20150824_0702'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
bases=(models.Model,), fields=[
|
|
(
|
|
'id', models.AutoField(
|
|
auto_created=True, primary_key=True, serialize=False,
|
|
verbose_name='ID'
|
|
)
|
|
),
|
|
(
|
|
'document', models.ForeignKey(
|
|
to='documents.Document', verbose_name='Document'
|
|
)
|
|
),
|
|
], name='NewVersionBlock', options={
|
|
'verbose_name': 'New version block',
|
|
'verbose_name_plural': 'New version blocks',
|
|
},
|
|
),
|
|
]
|