diff options
| author | Ola Sitarska <ola@sitarska.com> | 2014-12-01 21:20:37 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-01-11 15:21:01 -0500 |
| commit | d563e3be68369694a3bac1efd7779d8e03bb6a51 (patch) | |
| tree | 0b53bdc3d55bfe0a78d25a3fb2006f02fa9fa326 /docs | |
| parent | 412066e71e81e899bca63523f239e56138ec9e9d (diff) | |
Fixed #23913 -- Deprecated the `=` comparison in `if` template tag.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/deprecation.txt | 3 | ||||
| -rw-r--r-- | docs/releases/1.8.txt | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index e2c89d360b..345202545e 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -140,6 +140,9 @@ details on these changes. * The ``ssi`` template tag will be removed. +* Support for the ``=`` comparison operator in the ``if`` template tag will be + removed. + .. _deprecation-removed-in-1.9: 1.9 diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index dde70c9f84..dc0ce839bb 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -1492,6 +1492,12 @@ absolute path. This is of limited use in most deployment situations, and the :ttag:`include` tag often makes more sense. This tag is now deprecated and will be removed in Django 2.0. +``=`` as comparison operator in ``if`` template tag +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Using a single equals sign with the ``{% if %}`` template tag for equality +testing was undocumented and untested. It's now deprecated in favor of ``==``. + .. removed-features-1.8: Features removed in 1.8 |
