From ed93e13a1c6f792e14176bdaa5e96d0fa2c63a2f Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Mon, 1 Dec 2014 12:20:07 +0000 Subject: Update documentation --- topics/release-notes/index.html | 147 +++------------------------------------- 1 file changed, 11 insertions(+), 136 deletions(-) (limited to 'topics/release-notes') diff --git a/topics/release-notes/index.html b/topics/release-notes/index.html index 227e2640..6534fa05 100644 --- a/topics/release-notes/index.html +++ b/topics/release-notes/index.html @@ -164,6 +164,10 @@ Serializer relations +
Note: Prior to 2.1.16, The Decimals would render in JSON using floating point if simplejson was installed, but otherwise render using string notation.  Now that use of simplejson has been deprecated, Decimals will consistently render using string notation.  See #582 for more details.
Note: Prior to 2.1.16, The Decimals would render in JSON using floating point if simplejson was installed, but otherwise render using string notation.  Now that use of simplejson has been deprecated, Decimals will consistently render using string notation.  See ticket 582 for more details.
Date: 3rd Jan 2013
django.contrib.auth style permissions.staticfiles for css files.X-Throttle header on throttling.Big refactoring changes since 0.1.0, ask on the discussion group if anything isn't clear. - The public API has been massively cleaned up. Expect it to be fairly stable from here on in.
-Resource becomes decoupled into View and Resource, your views should now inherit from View, not Resource.
The handler functions on views .get() .put() .post() etc, no longer have the content and auth args.
-  Use self.CONTENT inside a view to access the deserialized, validated content.
-  Use self.user inside a view to access the authenticated user.
allowed_methods and anon_allowed_methods are now defunct.  if a method is defined, it's available.
-  The permissions attribute on a View is now used to provide generic permissions checking.
-  Use permission classes such as FullAnonAccess, IsAuthenticated or IsUserOrIsAnonReadOnly to set the permissions.
The authenticators class becomes authentication.  Class names change to Authentication.
The emitters class becomes renderers.  Class names change to Renderers.
ResponseException becomes ErrorResponse.
The mixin classes have been nicely refactored, the basic mixins are now RequestMixin, ResponseMixin, AuthMixin, and ResourceMixin
-  You can reuse these mixin classes individually without using the View class.
For older release notes, please see the GitHub repo.
@@ -1068,7 +943,7 @@ -- cgit v1.2.3