Run black over entire codebase

This commit is contained in:
2019-08-19 23:37:32 +02:00
parent fc7a9621a7
commit e3e3f6d5db
112 changed files with 8240 additions and 3214 deletions

View File

@ -13,22 +13,44 @@ class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('map', '0070_remove_null_from_text_fields_schema'),
("map", "0070_remove_null_from_text_fields_schema"),
]
operations = [
migrations.CreateModel(
name='PointOfInterest',
name="PointOfInterest",
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('date_created', models.DateTimeField(auto_now_add=True)),
('slug', django_extensions.db.fields.AutoSlugField(blank=True, editable=False, populate_from=['entry_name'])),
('approved', models.BooleanField(default=False)),
('title', models.CharField(max_length=128)),
('location', django.contrib.gis.db.models.fields.PointField(srid=4326)),
('synopsis', models.TextField()),
('link', models.URLField()),
('author', models.ForeignKey(blank=True, editable=False, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL)),
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("date_created", models.DateTimeField(auto_now_add=True)),
(
"slug",
django_extensions.db.fields.AutoSlugField(
blank=True, editable=False, populate_from=["entry_name"]
),
),
("approved", models.BooleanField(default=False)),
("title", models.CharField(max_length=128)),
("location", django.contrib.gis.db.models.fields.PointField(srid=4326)),
("synopsis", models.TextField()),
("link", models.URLField()),
(
"author",
models.ForeignKey(
blank=True,
editable=False,
null=True,
on_delete=django.db.models.deletion.SET_NULL,
to=settings.AUTH_USER_MODEL,
),
),
],
),
)
]