From 56f1a3529a78733cb105765fe5f9ce4af16667d8 Mon Sep 17 00:00:00 2001 From: Damien Date: Tue, 19 Jun 2018 10:52:15 +0200 Subject: [PATCH] [2.1.x] Clarified sentence about removal of inline flag support in url(). Backport of 7409d21a5ee7614db7276f06bfe412b24ff24059 from master --- docs/internals/deprecation.txt | 4 ++-- docs/releases/2.1.txt | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 99a16f50fd..c8148e8433 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -85,8 +85,8 @@ 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. +* ``url()``'s support for inline flags in regular expression groups (``(?i)``, + ``(?L)``, ``(?m)``, ``(?s)``, and ``(?u)``) will be removed. * Support for ``Widget.render()`` methods without the ``renderer`` argument will be removed. diff --git a/docs/releases/2.1.txt b/docs/releases/2.1.txt index c68f673d84..2227187c90 100644 --- a/docs/releases/2.1.txt +++ b/docs/releases/2.1.txt @@ -456,7 +456,8 @@ to remove usage of these features. * The ``Model._meta.has_auto_field`` attribute is removed. -* Support for regular expression groups with ``iLmsu#`` in ``url()`` is removed. +* ``url()``'s support for inline flags in regular expression groups (``(?i)``, + ``(?L)``, ``(?m)``, ``(?s)``, and ``(?u)``) is removed. * Support for ``Widget.render()`` methods without the ``renderer`` argument is removed.