Commit 2348dddfe97c03c1d9648c968dc3c39ae3ae2ccc
Committed by
GitHub
1 parent
00600e7a
Added auth context processor to test settings.
In Django 1.11, system checks run as part of the tests and failed: 'django.contrib.auth.context_processors.auth' must be in TEMPLATES in order to use the admin application.
Showing
1 changed file
with
1 additions
and
0 deletions
| @@ -37,6 +37,7 @@ settings.configure( | @@ -37,6 +37,7 @@ settings.configure( | ||
| 37 | 'APP_DIRS': True, | 37 | 'APP_DIRS': True, |
| 38 | 'OPTIONS': { | 38 | 'OPTIONS': { |
| 39 | 'context_processors': [ | 39 | 'context_processors': [ |
| 40 | + 'django.contrib.auth.context_processors.auth', | ||
| 40 | 'django.contrib.messages.context_processors.messages', | 41 | 'django.contrib.messages.context_processors.messages', |
| 41 | ] | 42 | ] |
| 42 | }, | 43 | }, |
Please
register
or
login
to post a comment