use app instead of application for granian
This commit is contained in:
parent
fb9b6dbb22
commit
dcb2e483b6
1 changed files with 2 additions and 2 deletions
|
|
@ -4,5 +4,5 @@ from django.core.wsgi import get_wsgi_application
|
||||||
|
|
||||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_project.settings")
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_project.settings")
|
||||||
|
|
||||||
application = get_wsgi_application()
|
# use app for granian, application for gunicorn
|
||||||
app = application
|
app = get_wsgi_application()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue