forked from 0x2620/pandora
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'])
|
||||
if request.user.is_authenticated():
|
||||
profile = request.user.get_profile()
|
||||
for key in data:
|
||||
keys = key.split('|')
|
||||
value = data[key]
|
||||
profile = request.user.get_profile()
|
||||
p = profile.ui
|
||||
while len(keys)>1:
|
||||
key = keys.pop(0)
|
||||
|
|
Loading…
Reference in a new issue