summaryrefslogtreecommitdiff
path: root/tests/auth_tests/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auth_tests/settings.py')
-rw-r--r--tests/auth_tests/settings.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auth_tests/settings.py b/tests/auth_tests/settings.py
index 8c295387c4..9fd71dfe87 100644
--- a/tests/auth_tests/settings.py
+++ b/tests/auth_tests/settings.py
@@ -1,7 +1,5 @@
import os
-from django.utils._os import upath
-
AUTH_MIDDLEWARE = [
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
@@ -9,7 +7,7 @@ AUTH_MIDDLEWARE = [
AUTH_TEMPLATES = [{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
- 'DIRS': [os.path.join(os.path.dirname(upath(__file__)), 'templates')],
+ 'DIRS': [os.path.join(os.path.dirname(__file__), 'templates')],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [