diff options
author | Adrian Holovaty <adrian@holovaty.com> | 2005-11-15 14:43:56 +0000 |
---|---|---|
committer | Adrian Holovaty <adrian@holovaty.com> | 2005-11-15 14:43:56 +0000 |
commit | 2c61aff52339ad1dc65f70a8c79b5f0b48266c21 (patch) | |
tree | a587aaec4f459de2f7c149719d123543de88b9a9 | |
parent | d6aa904487527d468a6b8bc097028d7af9a668e6 (diff) | |
download | django-2c61aff52339ad1dc65f70a8c79b5f0b48266c21.tar.gz |
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
-rw-r--r-- | django/parts/auth/anonymoususers.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/django/parts/auth/anonymoususers.py b/django/parts/auth/anonymoususers.py index b279d99d06..fea93e2f5a 100644 --- a/django/parts/auth/anonymoususers.py +++ b/django/parts/auth/anonymoususers.py @@ -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 [] |