Installation & configuration


  1. Python
  2. Django
  3. Requests


$ pip install dproxy

Next, you need to add “dproxy” to the INSTALLED_APPS list in your Django settings module (typically



The core of DProxy is a class-based Django view, dproxy.views.DProxy.

To use DProxy, you create an entry in your that forwards requests to the DProxy view class, e.g.:

from dproxy.views import DProxy

urlpatterns += patterns('',
    (r'^proxy/(?P<url>.*)$', DProxy.as_view(base_url='')),

Given the above url config, request matching /proxy/<any-url> will be handled by the configured DProxy view instance and forwarded to<any-url>.