Refs #27741 -- Fixed staticfiles_tests.test_views when run in isolation.

This commit is contained in:
Tim Graham 2017-01-25 13:53:38 -05:00 committed by GitHub
parent bfd42392ab
commit 11856ea44e
1 changed files with 3 additions and 0 deletions

View File

@ -22,4 +22,7 @@ TEST_SETTINGS = {
'staticfiles_tests.apps.test', 'staticfiles_tests.apps.test',
'staticfiles_tests.apps.no_label', 'staticfiles_tests.apps.no_label',
], ],
# In particular, AuthenticationMiddleware can't be used because
# contrib.auth isn't in INSTALLED_APPS.
'MIDDLEWARE': [],
} }