diff --git a/pandora/app/views.py b/pandora/app/views.py index 93e4ecb3..077a8066 100644 --- a/pandora/app/views.py +++ b/pandora/app/views.py @@ -112,7 +112,7 @@ def editPage(request): } } ''' - if request.user.get_profile().capabilities('canEditSitePages'): + if request.user.get_profile().capability('canEditSitePages'): data = json.loads(request.POST['data']) page, created = models.Page.objects.get_or_create(name=data['name']) page.body = data['body']