diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-07-10 14:43:52 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-07-10 14:43:52 +0200 |
commit | 764fa2fd02f08b23b35db761e579d9bd0649b86a (patch) | |
tree | 0e6add3f437d7a79319f6864bc35c3cc12aa9f3d /ishtar/ishtar_base/models.py | |
parent | 982b4c291a88fcab97b468d57c81e7099b225296 (diff) | |
download | Ishtar-764fa2fd02f08b23b35db761e579d9bd0649b86a.tar.bz2 Ishtar-764fa2fd02f08b23b35db761e579d9bd0649b86a.zip |
Correct archaeological File creation (closes #523)
Diffstat (limited to 'ishtar/ishtar_base/models.py')
-rw-r--r-- | ishtar/ishtar_base/models.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ishtar/ishtar_base/models.py b/ishtar/ishtar_base/models.py index 6de782fcf..4c4cdfc2e 100644 --- a/ishtar/ishtar_base/models.py +++ b/ishtar/ishtar_base/models.py @@ -551,7 +551,7 @@ class File(BaseHistorizedItem, OwnPerms): null=True, blank=True) postal_code = models.CharField(_(u"Main address - postal code"), max_length=10, null=True, blank=True) - comment = models.TextField(_(u"Comment")) + comment = models.TextField(_(u"Comment"), null=True, blank=True) history = HistoricalRecords() class Meta: @@ -898,7 +898,6 @@ class ContextRecord(BaseHistorizedItem, OwnPerms): return JOINT.join([unicode(item) for item in [self.parcel, self.label] if item]) - def full_label(self): if not self.parcel.operation: return unicode(self) |