ately, it's backwards incompatible and
> so we cannot make the change. Any URL with a “reason” URL parameter would
> no longer be resolvable.
>
> You can make a project-specific shortcut function that allows providing
> the reason parameter. Since it’s two lines long, it’s not a hug
Hi,
I've recently discovered the possibility to add a `reason` to a redirect.
It's extremely useful for testing or debugging when a redirect to a same
page can have different causes.
I'm proposing to add this functionality to `django.shortcuts.redirect` :
def redirect(to, *args, reason=None,