mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 21:21:21 -03:30
Added wsgi application.
This commit is contained in:
parent
0a3c59daf8
commit
df6bb82c33
14
lib/wsgi.py
Normal file
14
lib/wsgi.py
Normal file
@ -0,0 +1,14 @@
|
||||
"""
|
||||
WSGI config for Ansible Commander 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/dev/howto/deployment/wsgi/
|
||||
"""
|
||||
|
||||
import os
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'lib.settings')
|
||||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
application = get_wsgi_application()
|
||||
Loading…
x
Reference in New Issue
Block a user