From c177eff818f234611efb6882e6d845687dacfe0d Mon Sep 17 00:00:00 2001 From: markotibold Date: Thu, 19 Jan 2012 16:23:33 -0800 Subject: [PATCH] Updated Getting to 1.0 (markdown) --- Getting-to-1.0.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Getting-to-1.0.md b/Getting-to-1.0.md index e8111a7..49d90c3 100644 --- a/Getting-to-1.0.md +++ b/Getting-to-1.0.md @@ -9,11 +9,11 @@ a lot of the hard work has been done, but there's still a little way to go befor Stuff that needs to change ========================== -1. Drop short status codes. -2. Response to inherit from `HttpResponse`. +1. Drop short status codes. [#126](https://github.com/tomchristie/django-rest-framework/issues/126) +2. Response to inherit from `HttpResponse`. [#127](https://github.com/tomchristie/django-rest-framework/issues/127) + Becomes a type of standard Django Template Response, with `.render()` method. + `add_header()` dropped from `View` - set headers on the response as with standard Django. -3. Request to extend from `HttpRequest`. +3. Request to extend from `HttpRequest`. [#128](https://github.com/tomchristie/django-rest-framework/issues/128) + `self.DATA`, `self.FILES`, `self.auth`, `self.method` will become `request.DATA`, `request.FILES`, `request.method`... Regular attributes on the request (eg. `.META` etc.) will still be available. 4. `Resource.filter_response`, `Resource.validate_request` -> `Serializer.serialize`, `Deserializer.deserialize` + `Serializer`, `Deserializer` will be decoupled from `Resource`.