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 | 7baf631b85b199e17737871aa88b253a20ebdc1b (patch) | |
| tree | 63a093471436be3c2099473670605f70a45894d3 /archaeological_operations/models.py | |
| parent | 2902a21088ea21ae1291f10eea4e5a2ff9ea0207 (diff) | |
| download | Ishtar-7baf631b85b199e17737871aa88b253a20ebdc1b.tar.bz2 Ishtar-7baf631b85b199e17737871aa88b253a20ebdc1b.zip  | |
Complete generated filename (refs #1618)
Diffstat (limited to 'archaeological_operations/models.py')
| -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, ''])  | 
