mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-18 12:12:19 +03:00
Updated Getting to 1.0 (markdown)
parent
3be9543100
commit
a2bfff9e7e
|
@ -17,6 +17,7 @@ Stuff that needs to change
|
|||
+ Views handle request and response objects, provide `.get()`, `.post()`, `.put()`...
|
||||
+ Resources handle instances and filter arguments, provide `.read()`, `.create()`, `.list()`...
|
||||
+ Views can no longer return raw objects, must return responses.
|
||||
+ Resources never deal with anything at HTTP level.
|
||||
+ Views no longer have optional `model`, `form` properties that automagically create resources,
|
||||
if they use a resource, it must be provided using `.resource`
|
||||
6. Drop `set_script_prefix` munging.
|
||||
|
|
Loading…
Reference in New Issue
Block a user