summaryrefslogtreecommitdiff
path: root/django/contrib/auth/context_processors.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/contrib/auth/context_processors.py')
-rw-r--r--django/contrib/auth/context_processors.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/auth/context_processors.py b/django/contrib/auth/context_processors.py
index ce1e42d574..f865fc1b7d 100644
--- a/django/contrib/auth/context_processors.py
+++ b/django/contrib/auth/context_processors.py
@@ -2,7 +2,7 @@
# the template system can understand.
-class PermLookupDict(object):
+class PermLookupDict:
def __init__(self, user, app_label):
self.user, self.app_label = user, app_label
@@ -24,7 +24,7 @@ class PermLookupDict(object):
return type(self).__bool__(self)
-class PermWrapper(object):
+class PermWrapper:
def __init__(self, user):
self.user = user