mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-06-07 07:03:12 +03:00
Merge pull request #2584 from aRkadeFR/DocFixingTypo
Documentation test fix double word
This commit is contained in:
commit
700af5dab2
|
@ -14,7 +14,7 @@ Extends [Django's existing `RequestFactory` class][requestfactory].
|
||||||
|
|
||||||
## Creating test requests
|
## Creating test requests
|
||||||
|
|
||||||
The `APIRequestFactory` class supports an almost identical API to Django's standard `RequestFactory` class. This means the that standard `.get()`, `.post()`, `.put()`, `.patch()`, `.delete()`, `.head()` and `.options()` methods are all available.
|
The `APIRequestFactory` class supports an almost identical API to Django's standard `RequestFactory` class. This means that the standard `.get()`, `.post()`, `.put()`, `.patch()`, `.delete()`, `.head()` and `.options()` methods are all available.
|
||||||
|
|
||||||
from rest_framework.test import APIRequestFactory
|
from rest_framework.test import APIRequestFactory
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user