Skip to content

Commit f0ba887

Browse files
authored
docs: Remove outdated AllowPUTAsCreateMixin reference (#9788)
1 parent 4170e1a commit f0ba887

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/api-guide/generic-views.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,6 @@ Allowing `PUT` as create operations is problematic, as it necessarily exposes in
374374

375375
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.
376376

377-
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.
378-
379377
---
380378

381379
# Third party packages

0 commit comments

Comments
 (0)