diff options
| author | Tom Christie | 2013-01-14 09:20:37 +0000 |
|---|---|---|
| committer | Tom Christie | 2013-01-14 09:20:44 +0000 |
| commit | 191135d7b06617069489fa5de4e6f519767a4ee1 (patch) | |
| tree | 1778751080c5be9c77e80250a2a10aefe9a4ec5d | |
| parent | cae9a334ce1cb88b85d9619e473f7d4c550b68d5 (diff) | |
| download | django-rest-framework-191135d7b06617069489fa5de4e6f519767a4ee1.tar.bz2 | |
Version 2.1.162.1.16
| -rw-r--r-- | README.md | 11 | ||||
| -rw-r--r-- | docs/topics/release-notes.md | 9 | ||||
| -rw-r--r-- | rest_framework/__init__.py | 2 |
3 files changed, 17 insertions, 5 deletions
@@ -81,6 +81,17 @@ To run the tests. # Changelog +### 2.1.16 + +**Date**: 14th Jan 2013 + +* Deprecate django.utils.simplejson in favor of Python 2.6's built-in json module. +* Bugfix: `auto_now`, `auto_now_add` and other `editable=False` fields now default to read-only. +* Bugfix: PK fields now only default to read-only if they are an AutoField or if `editable=False`. +* Bugfix: Validation errors instead of exceptions when serializers receive incorrect types. +* Bugfix: Validation errors instead of exceptions when related fields receive incorrect types. +* Bugfix: Handle ObjectDoesNotExist exception when serializing null reverse one-to-one + ### 2.1.15 **Date**: 3rd Jan 2013 diff --git a/docs/topics/release-notes.md b/docs/topics/release-notes.md index b7907ec7..bf23fa35 100644 --- a/docs/topics/release-notes.md +++ b/docs/topics/release-notes.md @@ -16,16 +16,17 @@ Major version numbers (x.0.0) are reserved for project milestones. No major poi ## 2.1.x series -### Master +### 2.1.16 + +**Date**: 14th Jan 2013 * Deprecate django.utils.simplejson in favor of Python 2.6's built-in json module. -* Bugfix: PK fields now only default to `read_only=True` if they are an AutoField or if `editable=False`. +* Bugfix: `auto_now`, `auto_now_add` and other `editable=False` fields now default to read-only. +* Bugfix: PK fields now only default to read-only if they are an AutoField or if `editable=False`. * Bugfix: Validation errors instead of exceptions when serializers receive incorrect types. * Bugfix: Validation errors instead of exceptions when related fields receive incorrect types. * Bugfix: Handle ObjectDoesNotExist exception when serializing null reverse one-to-one -**Note**: If you are using auto UUID fields as your primary keys, you probably want to make sure that the model fields correctly set `editable=False`. - ### 2.1.15 **Date**: 3rd Jan 2013 diff --git a/rest_framework/__init__.py b/rest_framework/__init__.py index 1d25ee7f..bc267fad 100644 --- a/rest_framework/__init__.py +++ b/rest_framework/__init__.py @@ -1,3 +1,3 @@ -__version__ = '2.1.15' +__version__ = '2.1.16' VERSION = __version__ # synonym |
