You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optional setting to specify default redirection for 404 hits if no explicit redirect is provided
but in code vice versa that does matter have found redirect or not found. In any way will be redirect to default
# if default 404 redirect is specified, do a temporary redirect
if redirect_settings.DEFAULT_404_REDIRECT:
return http.HttpResponseRedirect(redirect_settings.DEFAULT_404_REDIRECT)
if redirect.redirect_to_url:
response_class = self.get_response_class(redirect)
return response_class(redirect.redirect_to_url)
In my opinion it blocks need swap the order.
The text was updated successfully, but these errors were encountered:
In
settings.py
I see itbut in code vice versa that does matter have found redirect or not found. In any way will be redirect to default
In my opinion it blocks need swap the order.
The text was updated successfully, but these errors were encountered: