profile needed without data
This commit is contained in:
parent
16dbedfa81
commit
c223095878
1 changed files with 1 additions and 1 deletions
|
@ -434,10 +434,10 @@ def setUI(request):
|
||||||
'''
|
'''
|
||||||
data = json.loads(request.POST['data'])
|
data = json.loads(request.POST['data'])
|
||||||
if request.user.is_authenticated():
|
if request.user.is_authenticated():
|
||||||
|
profile = request.user.get_profile()
|
||||||
for key in data:
|
for key in data:
|
||||||
keys = key.split('|')
|
keys = key.split('|')
|
||||||
value = data[key]
|
value = data[key]
|
||||||
profile = request.user.get_profile()
|
|
||||||
p = profile.ui
|
p = profile.ui
|
||||||
while len(keys)>1:
|
while len(keys)>1:
|
||||||
key = keys.pop(0)
|
key = keys.pop(0)
|
||||||
|
|
Loading…
Reference in a new issue