diff options
author | csitifr <csitifr@gmail.com> | 2012-05-11 17:31:37 +0530 |
---|---|---|
committer | csitifr <csitifr@gmail.com> | 2012-05-11 17:31:37 +0530 |
commit | 15c2f2561c23a656d792003b089e28ecc500b720 (patch) | |
tree | 555420bf03ae3a39f0dd600b81a7a40b400e672e /gstudio/models.py | |
parent | f8bc3f5d714cfe2b1d1d1fdf0bba47e35cb4240a (diff) | |
download | gnowsys-15c2f2561c23a656d792003b089e28ecc500b720.tar.gz |
small error in reftype and nodetype_detail.html corrected
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 |