Skip to content

Stop WhiteNoise from emitting warnings during test runs - #134

Merged
haikoschol merged 2 commits into
aboutcode-org:developfrom
haikoschol:whitenoise-warnings
Dec 19, 2019
Merged

Stop WhiteNoise from emitting warnings during test runs#134
haikoschol merged 2 commits into
aboutcode-org:developfrom
haikoschol:whitenoise-warnings

Conversation

@haikoschol

Copy link
Copy Markdown
Collaborator

No description provided.

This stops WhiteNoise from emitting warnings about STATIC_ROOT not
existing.
The alternative would be to set WHITENOISE_AUTOREFRESH = True in the
settings. We currently don't have any settings that are only applied
in CI and I think it makes sense to keep it that way to have the test
environment as close to production as possible.

See evansd/whitenoise#191

Signed-off-by: Haiko Schol <hs@haikoschol.com>
This stops warnings about STATIC_ROOT missing.

Signed-off-by: Haiko Schol <hs@haikoschol.com>
@haikoschol
haikoschol merged commit 7289228 into aboutcode-org:develop Dec 19, 2019
@haikoschol
haikoschol deleted the whitenoise-warnings branch April 10, 2023 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant