Hello again!
We have landed the template tag rename and I have started work on:
- Some polishing of existing docs in
ref. I think it’s not explicit in the initial description of the tag that you can passfoo=valas argument, a first read suggest that only aQueryDictorrequest.GETwill be accepted. - Reviewing PR #18368 which adds supports for passing a dict as parameter.
I was aiming at having both items ready for the 5.1RC release. However, @sarahboyce rightly pointed out that the second item may need to be treated as a 5.2 improvement, with its corresponding release note, as it’s not strictly a release blocker.
But, I think that a common use case for this template tag will be passing dictionaries to create a properly formatted and encoded query string. Currently, creating a QueryDict from a dictionary feels cumbersome, especially since I couldn’t find a straightforward method to do so. It seems the options are either using urlencode on the dictionary and then passing the resulting string to QueryDict, or initializing an empty QueryDict with mutable=True and updating it with the desired dictionary.
Because of the above, I propose that we do include PR #18368 changes in 5.1 as a (sort of?) release blocker to improve and streamline the usage of this template tag.
Thoughts?