django.core.exceptions.ImproperlyConfigured: WSGI application 'project.wsgi.application' could not be loaded; Error importing module.
I get the following error when I attempt to start my Django development server
django.core.exceptions.ImproperlyConfigured: WSGI application 'project.wsgi.application' could not be loaded; Error importing module.
Admin
2023-01-24
I had a similar error too. On further debugging I realise that it was because I added an app to my installed app settings that was not in my virtual environment. To fix check do the following;
- That your environment variable is active.
- Run pip freeze > requirements.txt to see all your installed packages and ensure that the ones in your installed app settings are also in your requirements.txt file
Similar Content
- How to add clipboard functionality to Django CkEditor Code Snippets
- Migrating your PostgreSQL database from one hosting platform to another (e.g Heroku to Supabase)
- Django: TemplateDoesNotExist (rest_framework/api.html)
- Django admin auto assign field on model save
- Hosting PostgreSQL database on Supabase for free
Add Message
Click on the button below to add a new message to this thread
Tags
#django
Thread detail
Satus: Open
Messages: 1Started: 2023-01-24loading..
Privacy Policy
By using our website,
you agree that devmaesters can store cookies on your device and disclose information in accordance with our privacy policy.