format migration file

This commit is contained in:
Gonçalo Valério 2020-05-12 17:02:10 +01:00
parent 045f79f867
commit c4daaba4f1
1 changed files with 31 additions and 14 deletions

View File

@ -7,23 +7,40 @@ import model_utils.fields
class Migration(migrations.Migration):
dependencies = [
('django_cryptolock', '0002_auto_20200218_1312'),
]
dependencies = [("django_cryptolock", "0002_auto_20200218_1312")]
operations = [
migrations.CreateModel(
name='Challenge',
name="Challenge",
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, editable=False, verbose_name='created')),
('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, editable=False, verbose_name='modified')),
('challenge', models.CharField(max_length=150)),
('expires', models.DateTimeField()),
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
(
"created",
model_utils.fields.AutoCreatedField(
default=django.utils.timezone.now,
editable=False,
verbose_name="created",
),
),
(
"modified",
model_utils.fields.AutoLastModifiedField(
default=django.utils.timezone.now,
editable=False,
verbose_name="modified",
),
),
("challenge", models.CharField(max_length=150)),
("expires", models.DateTimeField()),
],
options={
'verbose_name': 'Challenge',
'verbose_name_plural': 'Challenges',
},
),
options={"verbose_name": "Challenge", "verbose_name_plural": "Challenges"},
)
]