mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-10-08 12:56:43 +03:00
docs: Remove outdated AllowPUTAsCreateMixin reference (#9788)
This commit is contained in:
parent
4170e1a473
commit
f0ba887761
|
@ -374,8 +374,6 @@ Allowing `PUT` as create operations is problematic, as it necessarily exposes in
|
||||||
|
|
||||||
Both styles "`PUT` as 404" and "`PUT` as create" can be valid in different circumstances, but from version 3.0 onwards we now use 404 behavior as the default, due to it being simpler and more obvious.
|
Both styles "`PUT` as 404" and "`PUT` as create" can be valid in different circumstances, but from version 3.0 onwards we now use 404 behavior as the default, due to it being simpler and more obvious.
|
||||||
|
|
||||||
If you need to generic PUT-as-create behavior you may want to include something like [this `AllowPUTAsCreateMixin` class](https://gist.github.com/tomchristie/a2ace4577eff2c603b1b) as a mixin to your views.
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# Third party packages
|
# Third party packages
|
||||||
|
|
Loading…
Reference in New Issue
Block a user