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,
django.core.exceptions.ImproperlyConfigured: WSGI application
‘application’ could not be loaded; Error importing module:
‘application doesn’t look like a module path
I didn’t add anything to the code and the required packages are already satisfied.
Kenil Vasani
Go to django-ex/project/settings.py
Change the line in settings.py as below
WSGI_APPLICATION = 'application'
toWSGI_APPLICATION = 'wsgi.application'
That’s it 🙁