Embed WSGI application as Django view.
Project description
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')),
]
================
.. 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')),
]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-wsgi-view-0.0.1.tar.gz
.
File metadata
- Download URL: django-wsgi-view-0.0.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c8025f20f8bff7732af4fa613d1036c89a7be7e81697bc8c67caaee0c547f68 |
|
MD5 | d3543f77ea12c30fe43da514b5c46573 |
|
BLAKE2b-256 | 209285fb16043675daf2cc3b7465122443ed0eb788d4136a32b9d421cdad786e |
File details
Details for the file django_wsgi_view-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: django_wsgi_view-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d84063fa312c8d5ca8bc83e38f58d1ecdc6bebdcadf1932705e4285d5afca29 |
|
MD5 | 5a62c46e30e12ba8971c724a66facba4 |
|
BLAKE2b-256 | 8e92197a8284ad2a8a17a570493ba2006cbdbf2fe54f667807383f4262fe8094 |