diff options
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, '']) | 
