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 14611 Added dedicated option to test.Client methods (other than get()) for passing query parameters. Jari Pennanen Tom Carrick "I have a view that takes GET '''and''' POST parameters, currently there exists `django.test.Client.post()` and `Client.get()` but they don't provide means to test this combination cleanly. As an example solution I suggest to implement `Client.request()` also which would take POST and GET parameters, e.g. {{{ c = Client() c.request(reverse('my-view-name'), get={'getvar' : 'value'}, post={'postvar' : 'value'}, ...) }}} Currently ''workaround'' is to fake this using the post method like this: {{{ c = Client() c.post(reverse('my-test-view') + '?' + django.utils.http.urlencode({'getvar' : 'value'}), {'postvar' : 'value'}, ...) }}} Which as said, is not very clean." New feature closed Testing framework 1.2 Normal fixed Ready for checkin 1 0 0 0 0 0