middleware.common.CommonMiddleware.response_redirect_class

CommonMiddleware.response_redirect_class

Defaults to HttpResponsePermanentRedirect. Subclass CommonMiddleware and override the attribute to customize the redirects issued by the middleware.

doc_Django
2016-10-09 18:39:06
Comments
Leave a Comment

Please login to continue.