Format Python code with black

This commit is contained in:
kpj
2022-02-27 15:26:41 +01:00
parent 13885968e3
commit fc695896dd
136 changed files with 6142 additions and 3811 deletions

View File

@@ -14,14 +14,16 @@ def set_added_time_to_created_time(apps, schema_editor):
class Migration(migrations.Migration):
dependencies = [
('documents', '0019_add_consumer_user'),
("documents", "0019_add_consumer_user"),
]
operations = [
migrations.AddField(
model_name='document',
name='added',
field=models.DateTimeField(db_index=True, default=django.utils.timezone.now, editable=False),
model_name="document",
name="added",
field=models.DateTimeField(
db_index=True, default=django.utils.timezone.now, editable=False
),
),
migrations.RunPython(set_added_time_to_created_time)
migrations.RunPython(set_added_time_to_created_time),
]