diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2014-04-01 20:53:16 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2014-04-01 20:53:16 +0200 |
commit | 6373712a192f64bdceb869039e34dc0a7bfe3ef1 (patch) | |
tree | 63a093471436be3c2099473670605f70a45894d3 /archaeological_operations | |
parent | 10a5d53caf0776479b145673c693bdcf89b7e56b (diff) | |
download | Ishtar-6373712a192f64bdceb869039e34dc0a7bfe3ef1.tar.bz2 Ishtar-6373712a192f64bdceb869039e34dc0a7bfe3ef1.zip |
Complete generated filename (refs #1618)
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/models.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 8180707bc..021d37c52 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -214,6 +214,10 @@ class Operation(BaseHistorizedItem, OwnPerms, ValueGetter): return unicode(self) @property + def name(self): + return self.common_name + + @property def show_url(self): return reverse('show-operation', args=[self.pk, '']) |