From 771cec577952bdaea5b3efa81c9158cd25461d46 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 7 Jan 2012 16:23:36 +0530 Subject: [PATCH] typo --- pandora/app/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']