Reputation: 29
Django Version: 2.2.2
Exception Type: ModuleNotFoundError
Exception Value:
No module named 'whitenoise'
Exception Location:
in _find_and_load_unlocked, line 965
I from the local computer, put the project on a hosting, and such error got out
''''''
CSS static doesn't work
Upvotes: 1
Views: 3503
Reputation: 99
The error message you provided contains a possible solution:
Your WhiteNoise configuration is incompatible with WhiteNoise v4.0 This can be fixed by following the upgrade instructions at: http://whitenoise.evans.io/en/stable/changelog.html#v4-0
Have you tried that yet?
Upvotes: 1