mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Sorted imports with isort; refs #23860.
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
"This is the locale selecting middleware that will look at accept headers"
|
||||
|
||||
from django.conf import settings
|
||||
from django.core.urlresolvers import (is_valid_path, get_resolver, get_script_prefix,
|
||||
LocaleRegexURLResolver)
|
||||
from django.core.urlresolvers import (
|
||||
LocaleRegexURLResolver, get_resolver, get_script_prefix, is_valid_path,
|
||||
)
|
||||
from django.http import HttpResponseRedirect
|
||||
from django.utils.cache import patch_vary_headers
|
||||
from django.utils import translation
|
||||
from django.utils.cache import patch_vary_headers
|
||||
|
||||
|
||||
class LocaleMiddleware(object):
|
||||
|
||||
Reference in New Issue
Block a user