Changes between Version 3 and Version 4 of Ticket #27325, comment 5
- Timestamp:
- Mar 29, 2017, 12:12:15 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27325, comment 5
v3 v4 5 5 WHITENOISE_USE_FINDERS=True causes: 6 6 "django.core.exceptions.ImproperlyConfigured: WHITENOISE_USE_FINDERS can only be enabled in development when WHITENOISE_AUTOREFRESH is also enabled." 7 8 EDIT: 9 Now I do not get errors using WHITENOISE_USE_FINDERS=True and WHITENOISE_AUTOREFRESG which can be used in StaticLiveServerTestCase to achieve running tests without collectstatic first. See: tests/staticfiles_tests/test_liverserver.StaticLiveServerViewUseFinders.test_collectstatic_emulation 10 Does anybody know why WHITENOISE_USE_FINDERS is ignored in WhiteNoiseMiddleware? 11 See: tests/staticfiles_tests/test_liverserver.TestWhitenoiseMiddleware.test_collectstatic_emulation