From cb2be9d5d57c34a70f0c549b780183f8c73aec4b Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Fri, 6 Sep 2019 07:59:06 +0200 Subject: Refs #29546 -- Removed django.utils.timezone.FixedOffset per deprecation timeline. --- docs/ref/utils.txt | 9 --------- docs/releases/3.1.txt | 2 ++ 2 files changed, 2 insertions(+), 9 deletions(-) (limited to 'docs') diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 06a9506ec9..fbbbb46f81 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -835,15 +835,6 @@ appropriate entities. :class:`~datetime.tzinfo` instance that represents UTC. -.. class:: FixedOffset(offset=None, name=None) - - A :class:`~datetime.tzinfo` subclass modeling a fixed offset from UTC. - ``offset`` is an integer number of minutes east of UTC. - - .. deprecated:: 2.2 - - Use :class:`datetime.timezone` instead. - .. function:: get_fixed_timezone(offset) Returns a :class:`~datetime.tzinfo` instance that represents a time zone diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt index fdba88f035..2d2acf9745 100644 --- a/docs/releases/3.1.txt +++ b/docs/releases/3.1.txt @@ -230,6 +230,8 @@ in Django 3.1. See :ref:`deprecated-features-2.2` for details on these changes, including how to remove usage of these features. +* ``django.utils.timezone.FixedOffset`` is removed. + * ``django.contrib.postgres.fields.FloatRangeField`` and ``django.contrib.postgres.forms.FloatRangeField`` are removed. -- cgit v1.3