django.core.exceptions.ImproperlyConfigured: WSGI application 'application' could not be loaded

前端 未结 14 2991
[愿得一人]
[愿得一人] 2021-02-20 06:19

The scenario is,

I cloned the Django code for OpenShift-V3 from here . When I run the code using python manage.py runserver getting an error as,

14条回答
  •  借酒劲吻你
    2021-02-20 06:29

    pip install whitenoise
    

    Although solved my problem. Generally produced while we are moving a project to different virtual enviroments. Sometimes we forgot to install the package & whitenoise just broke the application little bit, because no where it is mentioned that you are missing "whitenoise" module.

提交回复
热议问题