Allow more fields in the case study to be blank

This commit is contained in:
Anna Sidwell 2018-03-27 15:10:04 +11:00
parent d80ed6a015
commit cb21daca5b
2 changed files with 34 additions and 3 deletions

View 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'),
),
]

View File

@ -477,6 +477,7 @@ class CaseStudy(models.Model):
max_length=500,
default=None,
null=True,
blank=True
)
# 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\
2,300 hectares')"),
max_length=200,
default=None,
null=True,
blank=None
default=None,
blank=True
)
# 2.3.3.3
@ -714,7 +715,7 @@ class CaseStudy(models.Model):
max_length=256,
default=None,
null=True,
blank=None
blank=True
)
# 2.3.4