Coverage for /var/srv/projects/api.amasfac.comuna18.com/tmp/venv/lib/python3.9/site-packages/django/core/wsgi.py: 60%

5 statements  

« prev     ^ index     » next       coverage.py v6.4.4, created at 2023-07-17 14:22 -0600

1import django 

2from django.core.handlers.wsgi import WSGIHandler 

3 

4 

5def get_wsgi_application(): 

6 """ 

7 The public interface to Django's WSGI support. Return a WSGI callable. 

8 

9 Avoids making django.core.handlers.WSGIHandler a public API, in case the 

10 internal WSGI implementation changes or moves in the future. 

11 """ 

12 django.setup(set_prefix=False) 

13 return WSGIHandler()