Run black over entire codebase
This commit is contained in:
@ -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,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
)
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user