Re: Using test.client.Client.post with body?

2006-10-03 Thread Russell Keith-Magee
On 10/4/06, Mikeal Rogers <[EMAIL PROTECTED]> wrote: > > I'm a little confused as to how to really use the test client for a > json-rpc request. > > I need to send a serialized object in the body, but the method seems > to be designed to simulate form post and may not contain this option. This is

Proposal for a new generic view

2006-10-03 Thread Indy
Hello all! I have a proposal for a new generic view: Consider the common case to present object A to the user which has a set of B objects assigned. Because B has the foreign key it isn't included in a select_related() on A. If you use the object_detail generic view to show A and the B list on a

Using test.client.Client.post with body?

2006-10-03 Thread Mikeal Rogers
I'm a little confused as to how to really use the test client for a json-rpc request. I need to send a serialized object in the body, but the method seems to be designed to simulate form post and may not contain this option. Is there a way to do this that I'm missing or does this need to be