summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-11-25 17:11:21 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-11-25 17:11:21 +0100
commita5f26c1d33e57b2fa470db829fb76105cddfa89a (patch)
tree2e9a532ebfc4a6a5c80b8400e457159a914d618e /archaeological_operations/models.py
parent57a24d859ed35f2faaea07e0d89f83eaebcc57af (diff)
downloadIshtar-a5f26c1d33e57b2fa470db829fb76105cddfa89a.tar.bz2
Ishtar-a5f26c1d33e57b2fa470db829fb76105cddfa89a.zip
Archaeological operations: common_name -> text - data migration: report error on abuse associations
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index 5f5369e8b..85edea71e 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -203,8 +203,7 @@ class Operation(BaseHistorizedItem, OwnPerms, ValueGetter, ShortMenuItem,
null=True, blank=True)
operator_reference = models.CharField(
_(u"Operator reference"), max_length=20, null=True, blank=True)
- common_name = models.CharField(_(u"Generic name"), max_length=120,
- null=True, blank=True)
+ common_name = models.TextField(_(u"Generic name"), null=True, blank=True)
comment = models.TextField(_(u"Comment"), null=True, blank=True)
cached_label = models.CharField(_(u"Cached name"), max_length=500,
null=True, blank=True)