Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed a small useless piece of code from `contrib.auth`.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 51b8f0a2402d56ec84c2f12045291c0f7e6862e6 1 parent 26698bc
Julien Phalip jphalip authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  django/contrib/auth/models.py
1  django/contrib/auth/models.py
View
@@ -154,7 +154,6 @@ def _user_has_perm(user, perm, obj):
def _user_has_module_perms(user, app_label):
- active = user.is_active
for backend in auth.get_backends():
if hasattr(backend, "has_module_perms"):
if backend.has_module_perms(user, app_label):
Please sign in to comment.
Something went wrong with that request. Please try again.