From e6d4445bbbb30531ea98164379cfb707bcc8415f Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Fri, 19 Sep 2014 14:27:40 +0100 Subject: [PATCH] Version 2.4.3 release notes --- api-guide/exceptions.html | 2 +- topics/release-notes.html | 21 ++++++++++++++++++--- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/api-guide/exceptions.html b/api-guide/exceptions.html index 10d702399..adbf5b889 100644 --- a/api-guide/exceptions.html +++ b/api-guide/exceptions.html @@ -274,7 +274,7 @@ def custom_exception_handler(exc):

API Reference

APIException

Signature: APIException()

-

The base class for all exceptions raised inside REST framework.

+

The base class for all exceptions raised inside an APIView class or @api_view.

To provide a custom exception, subclass APIException and set the .status_code and .default_detail properties on the class.

For example, if your API relies on a third party service that may sometimes be unreachable, you might want to implement an exception for the "503 Service Unavailable" HTTP response code. You could do this like so:

from rest_framework.exceptions import APIException
diff --git a/topics/release-notes.html b/topics/release-notes.html
index 4a38d1565..256d04966 100644
--- a/topics/release-notes.html
+++ b/topics/release-notes.html
@@ -242,18 +242,33 @@ a.fusion-poweredby {
 

2.4.x series

+

2.4.3

+

Date: 19th September 2014.

+

2.4.2

-

Date: 3rd September 2014

+

Date: 3rd September 2014.

2.4.1

-

Date: 1st September 2014

+

Date: 1st September 2014.

2.4.0

-

Date: 29th August 2014

+

Date: 29th August 2014.

Django version requirements: The lowest supported version of Django is now 1.4.2.

South version requirements: This note applies to any users using the optional authtoken application, which includes an associated database migration. You must now either upgrade your south package to version 1.0, or instead use the built-in migration support available with Django 1.7.