#24021: Template Variables Being Passed Through 'Using'
---------------------------------+--------------------------------------
     Reporter:  clu24            |                    Owner:  nobody
         Type:  Uncategorized    |                   Status:  closed
    Component:  Template system  |                  Version:  master
     Severity:  Normal           |               Resolution:  wontfix
     Keywords:  Template, Using  |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------
Changes (by freakboy3742):

 * status:  new => closed
 * needs_better_patch:   => 0
 * resolution:   => wontfix
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 Thanks for the suggestion - but I'm going to say No to this one. I afraid
 I don't see the benefit in introducing a new syntax element purely to
 avoid a level of namespace. If you don't want to pass in lots of
 variables, but you're willing to pass in a dictionary, why not just use
 the dictionary as an argument?

 {{{
 {% include 'example.html' with something=something %}
 }}}

 If you want to argue your case, please open a discussion on django-
 developers.

--
Ticket URL: <https://code.djangoproject.com/ticket/24021#comment:1>
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/063.066f717f7d7e0be6a4d2fdd0e50117d2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to