--
Ticket URL: <https://code.djangoproject.com/ticket/33206>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Old description:
> I would like to propose allowing the user to choose the redirect type
> (301, 302 and 410 by default) when adding a redirect in the
> contrib.redirects app admin site.
New description:
I would like to propose allowing the user to choose the redirect type
(301, 302 and 410 by default) when adding a redirect in the
contrib.redirects app admin site.
[https://github.com/django/django/pull/15002 PR] is here.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/33206#comment:1>
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/33206#comment:2>
* type: Uncategorized => New feature
--
Ticket URL: <https://code.djangoproject.com/ticket/33206#comment:3>
Old description:
> I would like to propose allowing the user to choose the redirect type
> (301, 302 and 410 by default) when adding a redirect in the
> contrib.redirects app admin site.
> [https://github.com/django/django/pull/15002 PR] is here.
New description:
As [https://groups.google.com/g/django-developers/c/c_ghDNzAN50 originally
discussed], I would like to propose allowing the user to choose the
redirect type (301, 302 and 410 by default) when adding a redirect in the
contrib.redirects app admin site.
[https://github.com/django/django/pull/15002 PR] is here.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/33206#comment:4>
* cc: Adam Johnson (added)
* needs_better_patch: 0 => 1
* status: new => assigned
* owner: nobody => Niccolò Mineo
* stage: Unreviewed => Accepted
Comment:
Thank for this proposition. Tentatively accepted, but only to allow
redirect type change (301, 302, 307, 308) per a redirect instance. PR
contains unrelated and backward incompatible changes e.g. swapping the
redirect model or a new behavior for `410 ("Gone")` redirects.
--
Ticket URL: <https://code.djangoproject.com/ticket/33206#comment:5>
* status: assigned => closed
* resolution: => wontfix
* stage: Accepted => Unreviewed
Comment:
This change is backward incompatible and against our stability policy. We
also don't have a clear migration path for existing users. We should go
back to the mailing list and reach a strong consensus before moving it
forward.
Closing as "wontfix".
--
Ticket URL: <https://code.djangoproject.com/ticket/33206#comment:6>