fixed typo in json.loads (was parse) and bug where view did not return http-response

This commit is contained in:
okalintu
2016-07-20 19:08:29 +03:00
parent cd5fcb5ee1
commit 6dd3dcb31e
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ class Member(models.Model):
'jas': 'jas',
}
mbr = cls()
for k,v in d.iteritems():
for k,v in d.items():
try:
mbr.__setattr__(dmap[k],v)
except KeyError: