From 831e6d57d5017ce6c03fe6bb77d6c9fd47bbc2e7 Mon Sep 17 00:00:00 2001 From: Sanj Date: Wed, 15 Aug 2012 19:55:08 +0530 Subject: [PATCH] get_dict() defaults to empty obj --- itf/app/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/itf/app/models.py b/itf/app/models.py index aaada2f..1f0a509 100755 --- a/itf/app/models.py +++ b/itf/app/models.py @@ -227,7 +227,8 @@ class ItfModel(models.Model): return "modules/%s/%s.html" % (kls._meta.app_label, kls._meta.module_name) def get_dict(self): - return self.get(self._get_fields().keys()) + return {} +# return self.get(self._get_fields().keys()) '''