带有whitenoise.django的ImportError

时间:2019-05-19 18:33:33

标签: django whitenoise

我已经使用以下命令安装了白噪声:

pip install whitenoise

但是当我在whitenoise.django上移动时,只会出现此错误:

raise ImportError(
        '\n\n'
        'Your WhiteNoise configuration is incompatible with WhiteNoise v4.0\n'
        'This can be fixed by following the upgrade instructions at:\n'
        'http://whitenoise.evans.io/en/stable/changelog.html#v4-0\n'
        '\

1 个答案:

答案 0 :(得分:0)

此处提供有关将WhiteNoise与Django结合使用的分步说明: http://whitenoise.evans.io/en/stable/django.html