From 1d1e246db6ae8a8c7b9a54f3485809a36c5ee373 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 19 Aug 2016 09:37:37 -0400 Subject: [PATCH] Removed DateTimeAwareJSONEncoder alias. --- django/core/serializers/json.py | 3 --- docs/releases/1.11.txt | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/django/core/serializers/json.py b/django/core/serializers/json.py index b66b3697b3..9da8993ee6 100644 --- a/django/core/serializers/json.py +++ b/django/core/serializers/json.py @@ -119,6 +119,3 @@ class DjangoJSONEncoder(json.JSONEncoder): return six.text_type(o) else: return super(DjangoJSONEncoder, self).default(o) - -# Older, deprecated class name (for backwards compatibility purposes). -DateTimeAwareJSONEncoder = DjangoJSONEncoder diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt index 706ee1dbd4..d62ea80e8c 100644 --- a/docs/releases/1.11.txt +++ b/docs/releases/1.11.txt @@ -413,6 +413,10 @@ Miscellaneous * The :djadmin:`makemessages` command now requires configured settings, like most other commands. +* The undocumented ``DateTimeAwareJSONEncoder`` alias for + :class:`~django.core.serializers.json.DjangoJSONEncoder` (renamed in Django + 1.0) is removed. + .. _deprecated-features-1.11: Features deprecated in 1.11