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

@ -7,23 +7,25 @@ from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('map', '0033_auto_20171103_2230'),
]
dependencies = [("map", "0033_auto_20171103_2230")]
operations = [
migrations.RenameField(
model_name='casestudy',
old_name='isolated_or_widespread_description',
new_name='isolated_or_widespread',
),
migrations.RemoveField(
model_name='casestudy',
name='shapefiles',
model_name="casestudy",
old_name="isolated_or_widespread_description",
new_name="isolated_or_widespread",
),
migrations.RemoveField(model_name="casestudy", name="shapefiles"),
migrations.AddField(
model_name='casestudy',
name='shapefiles',
field=models.FileField(blank=True, default=None, help_text='If you have territory that you would like to show in relation to this project - e.g. Bienes Comunales de Ixtepec etc. This is a set of 3 or more (often 5-6) files with file extensions like .cpg, .dbf, .prj, .qpj, .shp, .shx', null=True, upload_to='', verbose_name='Shapefiles'),
model_name="casestudy",
name="shapefiles",
field=models.FileField(
blank=True,
default=None,
help_text="If you have territory that you would like to show in relation to this project - e.g. Bienes Comunales de Ixtepec etc. This is a set of 3 or more (often 5-6) files with file extensions like .cpg, .dbf, .prj, .qpj, .shp, .shx",
null=True,
upload_to="",
verbose_name="Shapefiles",
),
),
]