Elibe
Gunicorn failed to load the wsgi module
wsgi file:
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'crm.settings')
application = get_asgi_application()
Procfile:
web: manage.py makemigrations && python manage.py migrate && python manage.py collectstatic --no-input && gunicorn crm.wsgi
40 replies
Gunicorn failed to load the wsgi module
This is my project structure:
crm
├─ .gitignore
├─ Procfile
├─ crm
│ ├─ asgi.py
│ ├─ settings.py
│ ├─ urls.py
│ └─ wsgi.py
├─ manage.py
├─ requirements.txt
├─ runtime.txt
└─ website
├─ admin.py
├─ apps.py
├─ forms.py
├─ models.py
├─ templates
│ └─ test.html
├─ tests.py
├─ urls.py
└─ views.py
40 replies