ojuso-map/apps/map/migrations/0057_auto_20180423_0220.py

56 lines
2.1 KiB
Python
Raw Normal View History

2018-04-23 05:15:33 +00:00
# -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2018-04-23 02:20
from __future__ import unicode_literals
2019-08-19 21:53:34 +00:00
from django.db import migrations
from django.db import models
2018-04-23 05:15:33 +00:00
class Migration(migrations.Migration):
2019-08-19 21:37:32 +00:00
dependencies = [("files", "0001_initial"), ("map", "0056_delete_shapefile")]
2018-04-23 05:15:33 +00:00
operations = [
migrations.RemoveField(
2019-08-19 21:37:32 +00:00
model_name="casestudy", name="official_project_documents"
2018-04-23 05:15:33 +00:00
),
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="official_project_documents",
field=models.ManyToManyField(
blank=True,
help_text="Attach any legal or official documents that relate to the project.",
null=True,
related_name="official_project_document_for",
to="files.File",
verbose_name="Official project documents",
),
2018-04-23 05:15:33 +00:00
),
2019-08-19 21:37:32 +00:00
migrations.RemoveField(model_name="casestudy", name="other_documents"),
2018-04-23 05:15:33 +00:00
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="other_documents",
field=models.ManyToManyField(
blank=True,
help_text="Attach any other documents that relate to the project.",
null=True,
related_name="other_document_for",
to="files.File",
verbose_name="Other documents",
),
2018-04-23 05:15:33 +00:00
),
2019-08-19 21:37:32 +00:00
migrations.RemoveField(model_name="casestudy", name="shapefiles"),
2018-04-23 05:15:33 +00:00
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="shapefiles",
field=models.ManyToManyField(
blank=True,
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,
related_name="shapefile_for",
to="files.File",
verbose_name="Shapefiles",
),
2018-04-23 05:15:33 +00:00
),
]