summaryrefslogtreecommitdiff
path: root/django/middleware/locale.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/middleware/locale.py')
-rw-r--r--django/middleware/locale.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/middleware/locale.py b/django/middleware/locale.py
index e3c95766c9..dd154e1280 100644
--- a/django/middleware/locale.py
+++ b/django/middleware/locale.py
@@ -3,7 +3,7 @@
from django.utils.cache import patch_vary_headers
from django.utils import translation
-class LocaleMiddleware:
+class LocaleMiddleware(object):
"""
This is a very simple middleware that parses a request
and decides what translation object to install in the current