raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: WSGI application 'sample.wsgi.application' could not be loaded; Error importing module. code example
Example: django.core.exceptions.ImproperlyConfigured: WSGI application 'souroSANOU.wsgi.application' could not be loaded; Error importing module.
Change the line in settings.py as below
WSGI_APPLICATION = 'application' to WSGI_APPLICATION = 'wsgi.application'