Wsgi
In [ ]:
Copied!
"""
WSGI config for censo 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/5.1/howto/deployment/wsgi/
"""
"""
WSGI config for censo 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/5.1/howto/deployment/wsgi/
"""
In [ ]:
Copied!
import os
import os
In [ ]:
Copied!
from django.core.wsgi import get_wsgi_application
from django.core.wsgi import get_wsgi_application
In [ ]:
Copied!
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'censo.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'censo.settings')
In [ ]:
Copied!
application = get_wsgi_application()
application = get_wsgi_application()