Deprecate ("iLmsu") regex groups in URLpatterns
As discussed on django-developers, Python deprecated usage of flags not at the start of a regular expression, e.g. 'CaseInsensitive(?i)' instead of '(?i)CaseInsensitive'. A new solution would be required to support these flags in Django, however, since case-insensitive URLs aren't a good practice and the other flags don't have value in urlpatterns, support for this will be removed. An alternative solution for those wanting the functionality is to write a 404 handler to look for uppercase characters and redirect to a lowercase equivalent.
Change History
(4)
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
PR