diff options
author | Kabir <kabir@gnowledge.org> | 2012-05-11 15:45:27 +0530 |
---|---|---|
committer | Kabir <kabir@gnowledge.org> | 2012-05-11 15:45:27 +0530 |
commit | 25e512e5397bfc9a8c9d253d31cd1e0a4a2251d6 (patch) | |
tree | 30dfeb10bec272f0a51dad9874ca16fa4e76eaea /gstudio/models.py | |
parent | 67b93f4117ed037a58c3672582d48b4256bbfea9 (diff) | |
download | gnowsys-25e512e5397bfc9a8c9d253d31cd1e0a4a2251d6.tar.gz |
Error related to graphs not showing up for objects corrected
Diffstat (limited to 'gstudio/models.py')
-rw-r--r-- | gstudio/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gstudio/models.py b/gstudio/models.py index c28b81c..e3e9fbb 100644 --- a/gstudio/models.py +++ b/gstudio/models.py @@ -103,6 +103,7 @@ from gstudio.moderator import NodetypeCommentModerator from gstudio.url_shortener import get_url_shortener from gstudio.signals import ping_directories_handler from gstudio.signals import ping_external_urls_handler + import json if GSTUDIO_VERSIONING: import reversion @@ -247,6 +248,7 @@ class NID(models.Model): @property def ref(self): + from objectapp.models import * return eval(self.nodemodel).objects.get(id=self.id) # """ |