mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-22 00:56:34 +03:00
Fix unit tests
This commit is contained in:
parent
7ad440f7a2
commit
98d5ce314f
|
@ -25,7 +25,7 @@ DATABASES = {
|
|||
}
|
||||
}
|
||||
|
||||
MIDDLEWARE_CLASSES = [
|
||||
MIDDLEWARE = [
|
||||
'django.middleware.common.CommonMiddleware',
|
||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||
'django.middleware.csrf.CsrfViewMiddleware',
|
||||
|
@ -33,6 +33,9 @@ MIDDLEWARE_CLASSES = [
|
|||
'django.contrib.messages.middleware.MessageMiddleware'
|
||||
]
|
||||
|
||||
# Adding for backwards compatibility for Django 1.8 tests
|
||||
MIDDLEWARE_CLASSES = MIDDLEWARE
|
||||
|
||||
TEMPLATE_CONTEXT_PROCESSORS = [
|
||||
'django.contrib.auth.context_processors.auth',
|
||||
'django.core.context_processors.debug',
|
||||
|
|
Loading…
Reference in New Issue
Block a user