PEP8 cleanups. Add keyword arguments. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
35 lines
934 B
Python
35 lines
934 B
Python
from __future__ import unicode_literals
|
|
|
|
from django.db import models, migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('documents', '0027_auto_20150824_0702'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='NewVersionBlock',
|
|
fields=[
|
|
(
|
|
'id', models.AutoField(
|
|
verbose_name='ID', serialize=False, auto_created=True,
|
|
primary_key=True
|
|
)
|
|
),
|
|
(
|
|
'document', models.ForeignKey(
|
|
verbose_name='Document', to='documents.Document'
|
|
)
|
|
),
|
|
],
|
|
options={
|
|
'verbose_name': 'New version block',
|
|
'verbose_name_plural': 'New version blocks',
|
|
},
|
|
bases=(models.Model,),
|
|
),
|
|
]
|