summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/deprecation.txt3
-rw-r--r--docs/releases/1.11.txt7
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index 29f4479c5a..c1a1c41cd6 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -48,6 +48,9 @@ details on these changes.
* The ``Model._meta.has_auto_field`` attribute will be removed.
+* Support for regular expression groups with ``iLmsu#`` in ``url()`` will be
+ removed.
+
.. _deprecation-removed-in-2.0:
2.0
diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt
index 24247f7d75..48849f3b4d 100644
--- a/docs/releases/1.11.txt
+++ b/docs/releases/1.11.txt
@@ -747,3 +747,10 @@ Miscellaneous
* ``Model._meta.has_auto_field`` is deprecated in favor of checking if
``Model._meta.auto_field is not None``.
+
+* Using regular expression groups with ``iLmsu#`` in ``url()`` is deprecated.
+ The only group that's useful is ``(?i)`` for case-insensitive URLs, however,
+ case-insensitive URLs aren't a good practice because they create multiple
+ entries for search engines, for example. An alternative solution could be to
+ create a :data:`~django.conf.urls.handler404` that looks for uppercase
+ characters in the URL and redirects to a lowercase equivalent.