ojuso-map/apps/map/migrations/0057_auto_20180423_0220.py
2019-08-20 00:10:20 +02:00

56 lines
2.1 KiB
Python

# -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2018-04-23 02:20
from __future__ import unicode_literals
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [("files", "0001_initial"), ("map", "0056_delete_shapefile")]
operations = [
migrations.RemoveField(
model_name="casestudy", name="official_project_documents"
),
migrations.AddField(
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",
),
),
migrations.RemoveField(model_name="casestudy", name="other_documents"),
migrations.AddField(
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",
),
),
migrations.RemoveField(model_name="casestudy", name="shapefiles"),
migrations.AddField(
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",
),
),
]