Django ImproperlyConfigured: WSGI application 'myproject.wsgi.application' could not be loaded; Error importing module

后端 未结 8 1561
生来不讨喜
生来不讨喜 2021-02-08 01:04

I have an almost fresh install of django and when I try to python manage.py runserver.It is is giving me this error:

ImproperlyConfigured: WSGI applicati

8条回答
  •  眼角桃花
    2021-02-08 01:53

    for anyone having this same issue. i just fixed it following the instructions here

    you should add WhiteNoise to your middleware list in settings.py and remove any reference to WhiteNoise from wsgi.py.

提交回复
热议问题