To simulate requests I am using following code and works perfect for me:
from django.test.client import Client
c = Client()
response = c.get('/url/you/want/to/request')
On Tuesday, July 8, 2008 7:16:54 AM UTC+5:30, Andrew wrote:
>
> Here's the situation:
>
> I'm creating an RESTful
Andrew wrote:
> Here's the situation:
>
> I'm creating an RESTful internal API as an app in our project. Our
> 'main' app (we'll call it main) is a client of the API app. Since
> we're building the API piece by piece as we use it, the emphasis on
> all of this is simple simple simple -- with our
Here's the situation:
I'm creating an RESTful internal API as an app in our project. Our
'main' app (we'll call it main) is a client of the API app. Since
we're building the API piece by piece as we use it, the emphasis on
all of this is simple simple simple -- with our eye on eventually
opening
3 matches
Mail list logo