Skip to content

Commit

Permalink
fixed pageadmin lookup_allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Obrist committed Feb 9, 2011
1 parent baa5cea commit 490bf33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/admin/pageadmin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 490bf33

Please sign in to comment.