Allow more fields in the case study to be blank
This commit is contained in:
parent
d80ed6a015
commit
cb21daca5b
30
apps/map/migrations/0037_auto_20180327_0549.py
Normal file
30
apps/map/migrations/0037_auto_20180327_0549.py
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.11.6 on 2018-03-27 05:49
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('map', '0036_auto_20180327_0334'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='casestudy',
|
||||||
|
name='direct_comms',
|
||||||
|
field=models.TextField(blank=True, default=None, help_text='Add any reports of direct communication between community members and representatives of developers/companies/investors.', max_length=500, null=True, verbose_name='Reports of direct communications'),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='casestudy',
|
||||||
|
name='projected_production_of_commodities',
|
||||||
|
field=models.CharField(blank=True, default=None, help_text="Describe the projected production of commodities per annum and overall (e.g. '40 million tonnes of iron ore per year, 200 million tonnes over 5 year life of mine'", max_length=256, null=True, verbose_name='Projected production of key commodities'),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='casestudy',
|
||||||
|
name='size_of_concessions',
|
||||||
|
field=models.CharField(blank=True, default=None, help_text="Describe the size of concession(s) granted to company/companies (e.g. 'one concession encompassing 2,300 hectares')", max_length=200, null=True, verbose_name='Size of concessions'),
|
||||||
|
),
|
||||||
|
]
|
@ -477,6 +477,7 @@ class CaseStudy(models.Model):
|
|||||||
max_length=500,
|
max_length=500,
|
||||||
default=None,
|
default=None,
|
||||||
null=True,
|
null=True,
|
||||||
|
blank=True
|
||||||
)
|
)
|
||||||
|
|
||||||
# 1.18.3
|
# 1.18.3
|
||||||
@ -701,9 +702,9 @@ class CaseStudy(models.Model):
|
|||||||
help_text=_("Describe the size of concession(s) granted to company/companies (e.g. 'one concession encompassing\
|
help_text=_("Describe the size of concession(s) granted to company/companies (e.g. 'one concession encompassing\
|
||||||
2,300 hectares')"),
|
2,300 hectares')"),
|
||||||
max_length=200,
|
max_length=200,
|
||||||
default=None,
|
|
||||||
null=True,
|
null=True,
|
||||||
blank=None
|
default=None,
|
||||||
|
blank=True
|
||||||
)
|
)
|
||||||
|
|
||||||
# 2.3.3.3
|
# 2.3.3.3
|
||||||
@ -714,7 +715,7 @@ class CaseStudy(models.Model):
|
|||||||
max_length=256,
|
max_length=256,
|
||||||
default=None,
|
default=None,
|
||||||
null=True,
|
null=True,
|
||||||
blank=None
|
blank=True
|
||||||
)
|
)
|
||||||
|
|
||||||
# 2.3.4
|
# 2.3.4
|
||||||
|
Loading…
Reference in New Issue
Block a user