Opened 16 years ago

Closed 16 years ago

#9351 closed (fixed)

Test client ignores querystring on post

Reported by: sime Owned by: nobody
Component: Testing framework Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Malcolm Tredinnick)

Typically, when I POST to "/example/?q=1", then request.GET['q'] == '1'.

This is true under at least the runserver, apache and fcgi.

However, TestCase.client.post() always produces an empty request.GET.

Change History (2)

comment:1 by Malcolm Tredinnick, 16 years ago

Description: modified (diff)
Triage Stage: UnreviewedAccepted

(Fixed description formatting).

comment:2 by Russell Keith-Magee, 16 years ago

Resolution: fixed
Status: newclosed

(In [9398]) Fixed #9351 -- Modified the test client to pass on URL encoded parameters to the underlying views. Thanks to sime for the suggestion.

Note: See TracTickets for help on using tickets.
Back to Top