i have same issue for my settings gunicorn config is wrong config for django, from :
web: gunicorn inventory:wsgi
resolve this to :
web: gunicorn inventory.wsgi:application
inventory is example name your folder projectname for called file wsgi.py inside the folder, example structure folder on startproject django-admin:
[projectname]/
├── [projectname]/
│ ├── __init__.py
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py -> here
└── manage.py
and application is object inside wsgi.py file, example:
"""
WSGI config for inventory project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'inventory.settings')
application = get_wsgi_application() #--> this object
p.s: sorry for my bad english