#25266: Allow regex for contrib.redirects
-----------------------------------+--------------------
Reporter: berkerpeksag | Owner: nobody
Type: New feature | Status: new
Component: contrib.redirects | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------
It would be really helpful if contrib.redirects would also accept a regex
pattern as input.
For example, in [https://github.com/python/pythondotorg/issues/462 some
cases] we want to redirect `http://www.python.org/doc/X.Y.X/whatsnew/*` to
`http://www.python.org/release/X.Y.X/whatsnew/*`.
I can work on a patch if this seems reasonable.
--
Ticket URL: <https://code.djangoproject.com/ticket/25266>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/055.64925295f459a9d291e5118460a3906b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.