kopia lustrzana https://github.com/wagtail/wagtail
Added comment into runtests.py to explain why we're using DatabaseCache
rodzic
360174e230
commit
503f1cbaf8
|
@ -82,6 +82,10 @@ if not settings.configured:
|
|||
'wagtail.wagtailredirects',
|
||||
'wagtail.tests',
|
||||
],
|
||||
|
||||
# Using DatabaseCache to make sure that the cache is cleared between tests.
|
||||
# This prevents false-positives in some wagtail core tests where we are
|
||||
# changing the 'wagtail_root_paths' key which may cause future tests to fail.
|
||||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'django.core.cache.backends.db.DatabaseCache',
|
||||
|
|
Ładowanie…
Reference in New Issue