https://github.com/ratson/django-wsgi-view
Embed WSGI application as Django view.
https://github.com/ratson/django-wsgi-view
Last synced: 4 months ago
JSON representation
Embed WSGI application as Django view.
- Host: GitHub
- URL: https://github.com/ratson/django-wsgi-view
- Owner: ratson
- Created: 2017-01-06T07:17:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-06T07:18:39.000Z (over 9 years ago)
- Last Synced: 2025-09-30T14:02:06.273Z (8 months ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
django-wsgi-view
================
.. image:: https://img.shields.io/pypi/v/django-wsgi-view.svg
:target: https://pypi.python.org/pypi/django-wsgi-view
:alt: Latest PyPI version
:crossorigin: anonymous
Embed WSGI application as Django view.
Requirements
------------
- Python >= 3.6
- Django >= 1.10
Installation
------------
You can install ``django-wsgi-view`` via `pip`_ from `PyPI`_::
$ pip install django-wsgi-view
.. _`pip`: https://pypi.python.org/pypi/pip/
.. _`PyPI`: https://pypi.python.org/pypi
Usage
-----
``urls.py`` module in your project:
.. code:: python
from django.conf.urls import url
from wsgi_view import WsgiView
urlpatterns = [
url(r'^sub-app(/.*)', WsgiView.as_view(application='wsgi.app')),
]