1 2 3 | class MountRedirect(object):
def process_request(self, request):
request.path = request.META.get('SCRIPT_NAME', '') + request.path
|
More like this
- Safer cache key generation by cmheisel 3 years, 2 months ago
- ScriptPrefixMiddleware by shellsage 2 years, 5 months ago
- SSL Middleware for Webfaction by parlar 4 years, 8 months ago
- Serve static media and indexes from app directories [Python2.5, Development only] by adamlofts 3 years, 5 months ago
- FirstRun Middleware by TheMysteriousX 9 months, 1 week ago
Comments