#35529: Have the template tag query_string support Mapping[str, Any] as an 
argument
---------------------------------+--------------------------------------
     Reporter:  Sarah Boyce      |                    Owner:  nobody
         Type:  New feature      |                   Status:  new
    Component:  Template system  |                  Version:  5.1
     Severity:  Normal           |               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 Sarah Boyce):

 Replying to [comment:3 Carsten Fuchs]:
 > Isn't this how it is already implemented?

 No I don't think so. It must be a `QueryDict`. The attached test currently
 fails with

 {{{
   ...
   File "pathtodjango\django\template\defaulttags.py", line 1208, in
 query_string
     query_string = query_dict.urlencode()
                    ^^^^^^^^^^^^^^^^^^^^
 AttributeError: 'dict' object has no attribute 'urlencode'
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35529#comment:4>
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/010701902ae66a7b-38b87eaf-a6ee-4f44-a393-7e108697dba4-000000%40eu-central-1.amazonses.com.

Reply via email to