Fixed #796 -- Gave AnonymousUser a has_module_perms method.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-11-15 14:43:56 +00:00
parent d6aa904487
commit 2c61aff523
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@ class AnonymousUser:
def has_perm(self, perm):
return False
def has_module_perms(self, module):
return False
def get_and_delete_messages(self):
return []