Opened 9 years ago

Closed 9 years ago

#24583 closed New feature (needsinfo)

Passing objects to template tags

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 (3)

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.

comment:3 by Tim Graham, 9 years ago

Resolution: needsinfo
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top