1
0
mirror of https://github.com/django/django.git synced 2024-12-24 10:05:46 +00:00

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

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 []