mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 12:30:11 +03:00
Add the cache middleware to the tests.
This commit is contained in:
parent
cfd0ab52fd
commit
7bbe392490
|
@ -21,6 +21,8 @@ def pytest_configure():
|
|||
'django.middleware.csrf.CsrfViewMiddleware',
|
||||
'django.contrib.auth.middleware.AuthenticationMiddleware',
|
||||
'django.contrib.messages.middleware.MessageMiddleware',
|
||||
'django.middleware.cache.UpdateCacheMiddleware',
|
||||
'django.middleware.cache.FetchFromCacheMiddleware',
|
||||
),
|
||||
INSTALLED_APPS=(
|
||||
'django.contrib.auth',
|
||||
|
|
Loading…
Reference in New Issue
Block a user