get_dict() defaults to empty obj

This commit is contained in:
Sanj 2012-08-15 19:55:08 +05:30
parent 31d0deceac
commit 831e6d57d5

View File

@ -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())
'''