Opened 19 years ago

Closed 17 years ago

Last modified 17 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

Description

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@… 19 years ago.
patch to add AND OR support to the ifequal tag

Download all attachments as: .zip

Change History (5)

by jay@…, 19 years ago

patch to add AND OR support to the ifequal tag

comment:1 by RichardBronosky (firstname@…, 17 years ago

Why has this not been implemented yet?

comment:2 by James Bennett, 17 years ago

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 by James Bennett, 17 years ago

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 by James Bennett, 17 years ago

#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