#24583: Passing objects to template tags
-------------------------------------+-------------------------------------
     Reporter:  mishavetl            |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  Template system      |                  Version:  1.8
     Severity:  Normal               |               Resolution:
     Keywords:  template tags        |             Triage Stage:
  feature                            |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Old description:

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

New description:

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

--

Comment (by timgraham):

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

 You can use [https://docs.djangoproject.com/en/1.8/howto/custom-template-
 tags/#django.template.Library.simple_tag simple_tag()] to pass arguments
 to template tags.

--
Ticket URL: <https://code.djangoproject.com/ticket/24583#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.da84929e2075055c8714af2096eafdf0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to