user.get_profile()->user.profile
This commit is contained in:
parent
3e8f28ff47
commit
1cc795995d
27 changed files with 72 additions and 70 deletions
|
|
@ -394,7 +394,7 @@ def sortLists(request, data):
|
|||
}.get(section,section)
|
||||
#ids = list(set(data['ids']))
|
||||
ids = data['ids']
|
||||
if section == 'featured' and not request.user.get_profile().capability('canEditFeaturedLists'):
|
||||
if section == 'featured' and not request.user.profile.capability('canEditFeaturedLists'):
|
||||
response = json_response(status=403, text='not allowed')
|
||||
else:
|
||||
user = request.user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue