﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
31188	Query param values got converted to lists.	Davit Tovmasyan	nobody	"Steps to reproduce:

1. Create a simple view

{{{
#!python
class SomeView(View):
    def get(self, request, *args, **kwargs):
        ...
        print(request.GET)
        ...
}}}

2. Create URL pattern for the view as usual

{{{
#!python
...
path('some/', SomeView.as_view()),
...
}}}

3. Do a GET request with query param using Client from `django.test`

{{{
#!python
...
c = Client()
c.get('some/', {'param': 1})
...
}}}

Remember this `print(request.GET)` code in CBV ?
The value is `<QueryDict: {'param': ['1']}>` and not `<QueryDict: {'param': '1'}>` as expected.

The same output when doing this way

{{{
#!python
...
c = Client()
c.get('some/?param=1')
...
}}}"	Bug	closed	HTTP handling	3.0	Normal	wontfix			Unreviewed	0	0	0	0	0	0
