s
This commit is contained in:
parent
bf3584bcf9
commit
479182bc47
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ def editUser(request):
|
||||||
}
|
}
|
||||||
'''
|
'''
|
||||||
response = json_response()
|
response = json_response()
|
||||||
data = json.load(request.POST['data'])
|
data = json.loads(request.POST['data'])
|
||||||
user = get_object_or_404_json(models.User, username=data['id'])
|
user = get_object_or_404_json(models.User, username=data['id'])
|
||||||
profile = user.get_profile()
|
profile = user.get_profile()
|
||||||
if 'email' in data:
|
if 'email' in data:
|
||||||
|
|
Loading…
Reference in a new issue