Opened 5 years ago

Closed 5 years ago

#31532 closed Cleanup/optimization (duplicate)

Deprecate {% ifequal %} and {% ifnotequal %} template tags in favor of {% if %}.

Reported by: Jon Dufresne Owned by: nobody
Component: Template system Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The {% if %} tag provides all features of these tags.

Since Django 1.2 (May 17, 2010), the docs have hinted that {% ifequal %} and {% ifnotequal %} will be deprecated in a future Django version. Time to make it official.

Change History (2)

comment:2 by Mariusz Felisiak, 5 years ago

Has patch: unset
Resolution: duplicate
Status: newclosed

Duplicate of #25236.

Note: See TracTickets for help on using tickets.
Back to Top