personal-site/personalsite/wsgi.py.example
Jesús b72f6c7634
Add wsgi.py.example
Example of wsgi configuration for multi-sites on Django
2018-10-12 19:44:10 -05:00

20 lines
476 B
Plaintext

"""
WSGI config for personalsite 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/2.1/howto/deployment/wsgi/
"""
import os, sys
from django.core.wsgi import get_wsgi_application
sys.path.append('/path/to/site/personalsite')
sys.path.append('/path/to/site')
os.environ['DJANGO_SETTINGS_MODULE'] = 'personalsite.settings'
application = get_wsgi_application()