mirror of
https://github.com/gamaio/gama_api.git
synced 2024-11-01 01:27:47 +00:00
82ee81a978
$ cd ~/dev/api.gama.io/api & workon gama_api $ django-admin.py startproject api
17 lines
384 B
Python
17 lines
384 B
Python
"""
|
|
WSGI config for api 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/1.11/howto/deployment/wsgi/
|
|
"""
|
|
|
|
import os
|
|
|
|
from django.core.wsgi import get_wsgi_application
|
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "api.settings")
|
|
|
|
application = get_wsgi_application()
|