Re: Request object problem

2010-09-22 Thread girish shabadimath
ya correct, now i got complete picture of client.get() and RequestFactory, On Wed, Sep 22, 2010 at 5:28 PM, bruno desthuilliers < bruno.desthuilli...@gmail.com> wrote: > On 22 sep, 13:17, girish shabadimath wrote: > > Thanks for the reply, actually the response object got using > RequestFactory

Re: Request object problem

2010-09-22 Thread bruno desthuilliers
On 22 sep, 13:17, girish shabadimath wrote: > Thanks for the reply, actually the response object got using RequestFactory > is different from the one returned by client.get() function,, The reponse object you get using RequestFactory is the one returned by your view. > i think response object re

Re: Request object problem

2010-09-22 Thread girish shabadimath
Thanks for the reply, actually the response object got using RequestFactory is different from the one returned by client.get() function,, i think response object returned by client.get() supports response.template and response.context['data'],,, ref:( http://djangosnippets.org/snippets/963/ )

Re: Request object problem

2010-09-22 Thread bruno desthuilliers
On 22 sep, 11:31, girish shabadimath wrote: > hi all, > > i used django snippethttp://djangosnippets.org/snippets/963/ > > and successfully created request object > > i checked the response.status_code its giving 200 > > i checked response.content it matches with the browser source code > > when i

Request object problem

2010-09-22 Thread girish shabadimath
hi all, i used django snippet http://djangosnippets.org/snippets/963/ and successfully created request object i checked the response.status_code its giving 200 i checked response.content it matches with the browser source code when i issue *response.template* it gives error and* response.cont