Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

wsgi.py 388B

12345678910111213
  1. import django
  2. from django.core.handlers.wsgi import WSGIHandler
  3. def get_wsgi_application():
  4. """
  5. The public interface to Django's WSGI support. Return a WSGI callable.
  6. Avoids making django.core.handlers.WSGIHandler a public API, in case the
  7. internal WSGI implementation changes or moves in the future.
  8. """
  9. django.setup(set_prefix=False)
  10. return WSGIHandler()