Opened 6 years ago
Closed 6 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:1 by , 6 years ago
| Has patch: | set |
|---|
comment:2 by , 6 years ago
| Has patch: | unset |
|---|---|
| Resolution: | → duplicate |
| Status: | new → closed |
Duplicate of #25236.
Note:
See TracTickets
for help on using tickets.
https://github.com/django/django/pull/12851