awx/awx/wsgi.py
2014-01-02 11:51:43 -05:00

20 lines
490 B
Python

# Copyright (c) 2014 AnsibleWorks, Inc.
# All Rights Reserved.
"""
WSGI config for AWX 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/
"""
# Prepare the AWX environment.
from awx import prepare_env
prepare_env()
# Return the default Django WSGI application.
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()