Opened 9 years ago

Last modified 9 years ago

#24583 closed New feature

Passing objects to template tags — at Version 2

Reported by: Michael Vietluzhskih Owned by: nobody
Component: Template system Version: 1.8
Severity: Normal Keywords: template tags feature
Cc: mishavetl@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Tim Graham)

How about passing objects to template tags as an arguments.
It would increase functionality of template tags.
Or is there a security issue?

Change History (2)

comment:1 by Michael Vietluzhskih, 9 years ago

Description: modified (diff)

comment:2 by Tim Graham, 9 years ago

Description: modified (diff)

It's not clear to me what functionality you are proposing.

You can use simple_tag() to pass arguments to template tags.

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