django-revproxy
django-revproxy copied to clipboard
Random subdomain as upstream or multi upstream domain support
I have issue related to static upstream in TestProxyView
class i tried the following :
def home(request, path):
upstream = request.GET.get('a')
return ProxyView.as_view()(upstream)
I got ERROR : dispatch() missing 1 required positional argument: 'path'
Tried also to catch get parameter from request object inside TestProxyView
class
class TestProxyView(ProxyView, request):
upstream = request.GET.get('a')
I got *ERROR : Name 'request' is undefined