Skip to main content

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')),
]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-wsgi-view-0.0.1.tar.gz (2.1 kB view hashes)

Uploaded source

Built Distribution

django_wsgi_view-0.0.1-py3-none-any.whl (3.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page