awesome-compose/django-postgres/django_app/wsgi.py
stuffinator b72a1bb9f7 Django-Postgres application template created (#178)
In this template is shown how to connect Djnago and PostgreSQL using docker-compose servise. 

Signed-off-by: Ulugbek Muslitdinov <ulugbekmuslitdinov@gmail.com>
2021-11-20 16:52:16 +05:00

17 lines
397 B
Python

"""
WSGI config for django_app 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/3.2/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'django_app.settings')
application = get_wsgi_application()