diff options
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) # """ |