get_dict() defaults to empty obj
This commit is contained in:
parent
31d0deceac
commit
831e6d57d5
|
@ -227,7 +227,8 @@ class ItfModel(models.Model):
|
||||||
return "modules/%s/%s.html" % (kls._meta.app_label, kls._meta.module_name)
|
return "modules/%s/%s.html" % (kls._meta.app_label, kls._meta.module_name)
|
||||||
|
|
||||||
def get_dict(self):
|
def get_dict(self):
|
||||||
return self.get(self._get_fields().keys())
|
return {}
|
||||||
|
# return self.get(self._get_fields().keys())
|
||||||
|
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in New Issue
Block a user