aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/generic-views.md
diff options
context:
space:
mode:
authorTom Christie2014-11-07 10:14:03 +0000
committerTom Christie2014-11-07 10:14:03 +0000
commit555930ee81c21f02fb7f44119a0a35dc4f7c048a (patch)
treef1107b56abdc8a4e0698e2eff231ef501a520065 /docs/api-guide/generic-views.md
parent9b19b5a59485c9dad4a18538a8a86f1ae4ea2a55 (diff)
parent9078fd4f689717aef7feecde7e7692d87050c611 (diff)
downloaddjango-rest-framework-555930ee81c21f02fb7f44119a0a35dc4f7c048a.tar.bz2
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
Diffstat (limited to 'docs/api-guide/generic-views.md')
-rwxr-xr-xdocs/api-guide/generic-views.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/generic-views.md b/docs/api-guide/generic-views.md
index d2836fa6..49a5e58f 100755
--- a/docs/api-guide/generic-views.md
+++ b/docs/api-guide/generic-views.md
@@ -374,7 +374,7 @@ Using custom base classes is a good option if you have custom behavior that cons
Prior to version 3.0 the REST framework mixins treated `PUT` as either an update or a create operation, depending on if the object already existed or not.
-Allowing `PUT` as create operations is problematic, as it necessarily exposes information about the existence or non-existance of objects. It's also not obvious that transparently allowing re-creating of previously deleted instances is necessarily a better default behavior than simply returning `404` responses.
+Allowing `PUT` as create operations is problematic, as it necessarily exposes information about the existence or non-existence of objects. It's also not obvious that transparently allowing re-creating of previously deleted instances is necessarily a better default behavior than simply returning `404` responses.
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.