example-of-crud-in-django-w.../project/wsgi.py

17 lines
391 B
Python
Raw Normal View History

2021-07-05 15:56:53 +02:00
"""
2021-07-14 16:19:03 +02:00
WSGI config for proyect project.
2021-07-05 15:56:53 +02:00
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
2021-07-14 17:17:52 +02:00
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "project.settings")
2021-07-05 15:56:53 +02:00
application = get_wsgi_application()