diff options
Diffstat (limited to 'gstudio/models.py')
-rw-r--r-- | gstudio/models.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gstudio/models.py b/gstudio/models.py index 97b4888..5b5cf42 100644 --- a/gstudio/models.py +++ b/gstudio/models.py @@ -279,9 +279,9 @@ class NID(models.Model): ALGO: simple wrapper for the __class__.__name__ so that it can be used in templates """ - return self.__class__.__name__ - # obj = self.ref - # return obj.__class__.__name__ + # return self.__class__.__name__ + obj = self.ref + return obj.__class__.__name__ except: return None |