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

前端 未结 14 3199
[愿得一人]
[愿得一人] 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:31

    Do you have Django Debug Toolbar

    Remove it and check if the problem goes away. Possible occurences:

    pip uninstall django-debug-toolbar
    
    INSTALLED_APPS = [
        ...
        'debug_toolbar',
        ...
    ]
    
    MIDDLEWARE = [
        ...
        'debug_toolbar.middleware.DebugToolbarMiddleware',
        ...
    ]
    
    

提交回复
热议问题