Prevent whitenoise from inspecting static files when testing
@@ -19,6 +19,8 @@ if "test" in sys.argv:
PASSWORD_HASHERS = [
"django.contrib.auth.hashers.MD5PasswordHasher",
]
+ # Stop whitenoise from inspecting static files when testing
+ WHITENOISE_AUTOREFRESH = True
# TEMPLATE CONFIGURATION
# ------------------------------------------------------------------------------
