#35523: query_string cannot use variables as keys
---------------------------------+--------------------------------------
     Reporter:  Sarah Boyce      |                    Owner:  nobody
         Type:  Bug              |                   Status:  new
    Component:  Template system  |                  Version:  5.1
     Severity:  Release blocker  |               Resolution:
     Keywords:                   |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------
Comment (by Carsten Fuchs):

 This is why my original code supported dictionaries for input.
 See the last example at
 https://code.djangoproject.com/ticket/10941#comment:33, repeated here for
 reference:
 {{{
 {# Overwrite month and year with precomputed values, e.g. with
 next_month_year = {'month': 1, 'year': 2022}, and clear the day: #}
 {% query_string request.GET next_month_year day=None %}
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35523#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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107019010d74e68-9d9a0fc3-331d-4a95-8a86-0bc75bb661ea-000000%40eu-central-1.amazonses.com.

Reply via email to