Hi,

> Le 19 oct. 2016 à 10:31, korea k <[email protected]> a écrit :
> 
> hi,guys.   I read the offical docs through 
> http://www.django-rest-framework.org/api-guide/testing/
> It  say as blew:
> 
> REST framework also includes a client for interacting with your application 
> using the popular Python library, requests.
> 
> This exposes exactly the same interface as if you were using a requests 
> session directly.
> 
> client = RequestsClient()
> 
> response = client.get('http://testserver/users/')
> 
> 
> 
> But I can‘t find the location of RequestsClient。
> 
> It doesn't exist in rest_framwork.test????
> 


It looks like it’s there.
https://github.com/tomchristie/django-rest-framework/blob/master/rest_framework/test.py#L118
 
<https://github.com/tomchristie/django-rest-framework/blob/master/rest_framework/test.py#L118>

Regards,
Xavier,
Linovia.

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to