mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Merge pull request #1198 from KrzysiekJ/http-patch-method
Fixed #20478 – Added support for HTTP PATCH method in generic views.
This commit is contained in:
commit
11b06532f7
4 changed files with 14 additions and 2 deletions
|
@ -55,7 +55,7 @@ View
|
|||
|
||||
Default::
|
||||
|
||||
['get', 'post', 'put', 'delete', 'head', 'options', 'trace']
|
||||
['get', 'post', 'put', 'patch', 'delete', 'head', 'options', 'trace']
|
||||
|
||||
**Methods**
|
||||
|
||||
|
|
|
@ -258,6 +258,9 @@ Minor features
|
|||
methods returning the first or last object matching the filters. Returns
|
||||
``None`` if there are no objects matching.
|
||||
|
||||
* :class:`~django.views.generic.base.View` and
|
||||
:class:`~django.views.generic.base.RedirectView` now support HTTP PATCH method.
|
||||
|
||||
Backwards incompatible changes in 1.6
|
||||
=====================================
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue