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")
|
||||
|
||||
application = get_wsgi_application()
|
||||
app = application
|
||||
# use app for granian, application for gunicorn
|
||||
app = get_wsgi_application()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue