1 2 3 | class MountRedirect(object):
def process_request(self, request):
request.path = request.META.get('SCRIPT_NAME', '') + request.path
|
More like this
- Serve static media and indexes from app directories [Python2.5, Development only] by adamlofts 4 years, 10 months ago
- FirstRun Middleware by TheMysteriousX 2 years, 1 month ago
- SSL Middleware for Webfaction by parlar 6 years, 1 month ago
- easy absolute path for settings.py by pgugged 4 years, 11 months ago
- showing environment variables in the django admin by tonemcd 3 years, 4 months ago
Comments