Opened 14 years ago

Closed 12 years ago

Last modified 12 years ago

#1209 closed enhancement (wontfix)

[patch] Add AND OR support to ifequal default tag

Reported by: jay@… Owned by: nobody
Component: Template system Version:
Severity: normal Keywords: ifequal template tag
Cc: Triage Stage: Design decision needed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I found myself wanting to use AND and OR when using the ifequal tag.

Attachments (1)

ifequal_AND_OR_Support.patch (5.1 KB) - added by jay@… 14 years ago.
patch to add AND OR support to the ifequal tag

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by jay@…

patch to add AND OR support to the ifequal tag

comment:1 Changed 12 years ago by RichardBronosky (firstname@…

Why has this not been implemented yet?

comment:2 Changed 12 years ago by James Bennett

If you're interested in this feature, port the patch to current Django trunk and upload it; the patch currently attached to this ticket is over a year old and written in a way that would be completely incompatible with the current version of Django.

comment:3 Changed 12 years ago by James Bennett

Resolution: wontfix
Status: newclosed

Marking wontfix because apparently nobody's interested in doing this; if somebody does want to bring that patch up to date with trunk, feel free to re-open once you have the code ready.

comment:4 Changed 12 years ago by James Bennett

#3075 was a duplicate; anyone looking to create a patch for trunk should probably look at the one attached there.

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