mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-03 15:38:59 +00:00

Move manage.py up one step, set up a new wsgi.py file, and adjust relative paths that refer to other directories for the new project layout that we need to use in django 1.8.
17 lines
387 B
Python
17 lines
387 B
Python
"""
|
|
WSGI config for pgweb 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.8/howto/deployment/wsgi/
|
|
"""
|
|
|
|
import os
|
|
|
|
from django.core.wsgi import get_wsgi_application
|
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pgweb.settings")
|
|
|
|
application = get_wsgi_application()
|