Opened 3 years ago

Closed 3 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 Changed 3 years ago by Michael Vietluzhskih

Description: modified (diff)

comment:2 Changed 3 years ago by Tim Graham

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 Changed 3 years ago by Tim Graham

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