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
commit0895d18fd52514f346a7de75f015953b3f9a3657 (patch)
tree2e9a532ebfc4a6a5c80b8400e457159a914d618e /archaeological_operations/models.py
parentd5e26abe38f95f773f139a7d13a1ad51c241b4ad (diff)
downloadIshtar-0895d18fd52514f346a7de75f015953b3f9a3657.tar.bz2
Ishtar-0895d18fd52514f346a7de75f015953b3f9a3657.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)