#32561: Unpacking request.GET into a function call turns the values into lists with one item. -------------------------------+-------------------------------------- Reporter: atursams | Owner: nobody Type: Bug | Status: closed Component: Uncategorized | Version: 3.1 Severity: Normal | Resolution: invalid Keywords: | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+-------------------------------------- Changes (by Carlton Gibson):
* status: new => closed * resolution: => invalid Comment: This is expected behaviour of `QueryDict`. [https://docs.djangoproject.com/en/3.1/ref/request-response/#querydict- objects From the docs]: > In an HttpRequest object, the GET and POST attributes are instances of django.http.QueryDict, a dictionary-like class customized to deal with multiple values for the same key. This is necessary because some HTML form elements, notably <select multiple>, pass multiple values for the same key. (The underlying storage is a list.) This issue tracker is not really the appropriate place for this kind of query. Please see TicketClosingReasons/UseSupportChannels. -- Ticket URL: <https://code.djangoproject.com/ticket/32561#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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/066.04afc54d622bcf47e92728e06b6e2cbf%40djangoproject.com.