#13956: Indefinite args for simpletags and inclusion tags
-------------------------------------+-------------------------------------
Reporter: melinath | Owner: julien
Type: New feature | Status: new
Component: Template system | Version: master
Severity: Normal | Resolution:
Keywords: simple_tag, | Triage Stage: Ready for
simpletag, varargs | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by pczerkas):
* keywords: simple_tag, simpletag => simple_tag, simpletag, varargs
* status: closed => new
* resolution: fixed =>
* cc: pczerkas (added)
Comment:
Replying to [comment:33 pczerkas@…]:
> I think that one piece is still missing. How about allowing to pass
args/kwargs to templatetags:
> {{{
> {% some_tag named_args *args **kwargs %}
> }}}
> where args is a list, kwargs is a dict?
Patch for proposed functionality:
https://code.djangoproject.com/attachment/ticket/13956/13956.ttag_varargs_in_templates.1.diff
with tests.
The mailinglist discussion: https://groups.google.com/forum/#!topic
/django-developers/IU128CmM9Es
--
Ticket URL: <https://code.djangoproject.com/ticket/13956#comment:34>
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/066.d2701ecc2a7fffb4d88cc5381313c4a1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.