diff options
| author | Michael Elovskikh | 2013-01-17 17:17:53 +0600 |
|---|---|---|
| committer | Michael Elovskikh | 2013-01-17 17:17:53 +0600 |
| commit | ed1375485906f261449b92fe6e20715530625d07 (patch) | |
| tree | 33532af335993279285ebe1abf8bf3a4b2eb6ba4 /docs/topics/browsable-api.md | |
| parent | 0f0a07b732a4bd90957c08b01d51e70c7e739d5d (diff) | |
| download | django-rest-framework-ed1375485906f261449b92fe6e20715530625d07.tar.bz2 | |
Added PATCH HTTP method to the docs
Diffstat (limited to 'docs/topics/browsable-api.md')
| -rw-r--r-- | docs/topics/browsable-api.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/topics/browsable-api.md b/docs/topics/browsable-api.md index 9fe82e69..479987a1 100644 --- a/docs/topics/browsable-api.md +++ b/docs/topics/browsable-api.md @@ -5,7 +5,7 @@ > — [Alfred North Whitehead][cite], An Introduction to Mathematics (1911) -API may stand for Application *Programming* Interface, but humans have to be able to read the APIs, too; someone has to do the programming. Django REST Framework supports generating human-friendly HTML output for each resource when the `HTML` format is requested. These pages allow for easy browsing of resources, as well as forms for submitting data to the resources using `POST`, `PUT`, and `DELETE`. +API may stand for Application *Programming* Interface, but humans have to be able to read the APIs, too; someone has to do the programming. Django REST Framework supports generating human-friendly HTML output for each resource when the `HTML` format is requested. These pages allow for easy browsing of resources, as well as forms for submitting data to the resources using `POST`, `PUT`, `PATCH` and `DELETE`. ## URLs @@ -79,6 +79,7 @@ The context that's available to the template: * `name` : The name of the resource * `post_form` : A form instance for use by the POST form (if allowed) * `put_form` : A form instance for use by the PUT form (if allowed) +* `patch_form` : A form instance for use by the PATCH form (if allowed) * `request` : The request object * `response` : The response object * `version` : The version of Django REST Framework |
