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:
parent
d6aa904487
commit
2c61aff523
|
@ -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 []
|
||||
|
||||
|
|
Loading…
Reference in New Issue