aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide
diff options
context:
space:
mode:
authorludbek2015-02-21 07:52:56 +0545
committerludbek2015-02-21 07:52:56 +0545
commitf29b657798d3f2223275fb33ca95fab2209fc229 (patch)
tree7a70d15e61bdcbb177dad9e5e4123ca61d2982b1 /docs/api-guide
parentd0539a11e9c47a85a0868baaa7de9f83690ae1bf (diff)
downloaddjango-rest-framework-f29b657798d3f2223275fb33ca95fab2209fc229.tar.bz2
updated outdated link at testing.md#APIClient
Diffstat (limited to 'docs/api-guide')
-rw-r--r--docs/api-guide/testing.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-guide/testing.md b/docs/api-guide/testing.md
index d9a1696d..9dc3f2bf 100644
--- a/docs/api-guide/testing.md
+++ b/docs/api-guide/testing.md
@@ -115,7 +115,7 @@ Extends [Django's existing `Client` class][client].
## Making requests
-The `APIClient` class supports the same request interface as `APIRequestFactory`. This means the that standard `.get()`, `.post()`, `.put()`, `.patch()`, `.delete()`, `.head()` and `.options()` methods are all available. For example:
+The `APIClient` class supports the same request interface as Django's standard `Client` class. This means the that standard `.get()`, `.post()`, `.put()`, `.patch()`, `.delete()`, `.head()` and `.options()` methods are all available. For example:
from rest_framework.test import APIClient
@@ -269,6 +269,6 @@ For example, to add support for using `format='html'` in test requests, you migh
}
[cite]: http://jacobian.org/writing/django-apps-with-buildout/#s-create-a-test-wrapper
-[client]: https://docs.djangoproject.com/en/dev/topics/testing/overview/#module-django.test.client
+[client]: https://docs.djangoproject.com/en/dev/topics/testing/tools/#the-test-client
[requestfactory]: https://docs.djangoproject.com/en/dev/topics/testing/advanced/#django.test.client.RequestFactory
[configuration]: #configuration