Permalink
Browse files

fixed pageadmin lookup_allowed

  • Loading branch information...
1 parent baa5cea commit 490bf333a65d7db6fa2bffefe89809659ad2dcf2 Jonas Obrist committed Feb 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 cms/admin/pageadmin.py
View
@@ -1367,7 +1367,7 @@ def change_moderation(self, request, page_id):
return render_admin_menu_item(request, page)
raise Http404
- def lookup_allowed(self, key):
+ def lookup_allowed(self, key, *args, **kwargs):
if key == 'site__exact':
return True
return super(PageAdmin, self).lookup_allowed(key)

0 comments on commit 490bf33

Please sign in to comment.