fixed typo in json.loads (was parse) and bug where view did not return http-response
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user