Changes between Version 2 and Version 3 of Ticket #27325, comment 5
- Timestamp:
- Mar 29, 2017, 10:03:49 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27325, comment 5
v2 v3 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 which can be used in StaticLiveServerTestCase to achieve running tests without collectstatic first. See: tests/staticfiles_tests/test_liverserver.StaticLiveServerView.test_collectstatic_emulation10 Does anybody know why WHITENOISE_USE_FINDERS is ignored in WhiteNoiseMiddleware?11 See: tests/staticfiles_tests/test_liverserver.TestWhitenoiseMiddleware.test_collectstatic_emulation