Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#7729 closed (invalid)

template tags: IF IN statement like python IF IN statement

Reported by: lav Owned by: nobody
Component: Template system Version: master
Severity: Keywords:
Cc: laandrey@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Is there any ways to check is there an item in the list like in python IF IN statement? as template tag or else....

if item in items_list:

return True

Change History (3)

comment:1 Changed 8 years ago by anonymous

milestone: 1.0 alpha
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Summary: template tags: IF IN statement like pythontemplate tags: IF IN statement like python IF IN statement

comment:2 Changed 8 years ago by Malcolm Tredinnick

Resolution: invalid
Status: newclosed

Support and usage questions should be directed to the django-users mailing list, please. This Trac installation is only for bug reports.

comment:3 Changed 8 years ago by anonymous

Keywords: nfa-someday removed
Note: See TracTickets for help on using tickets.
Back to Top