kopia lustrzana https://github.com/wagtail/bakerydemo
21 wiersze
499 B
Python
21 wiersze
499 B
Python
"""
|
|
WSGI config for portal 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.10/howto/deployment/wsgi/
|
|
"""
|
|
|
|
import os
|
|
|
|
import dotenv
|
|
from django.core.wsgi import get_wsgi_application
|
|
|
|
|
|
dotenv.read_dotenv(os.path.join(os.path.dirname(os.path.dirname(__file__)), '.env'))
|
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "bakerydemo.settings.dev")
|
|
|
|
application = get_wsgi_application()
|