Embed WSGI application as Django view.
- Python >= 3.6
- Django >= 1.10
You can install django-wsgi-view
via pip from PyPI:
$ pip install django-wsgi-view
urls.py
module in your project:
from django.conf.urls import url
from wsgi_view import WsgiView
urlpatterns = [
url(r'^sub-app(/.*)', WsgiView.as_view(application='wsgi.app')),
]