summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2019-09-06 07:59:06 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-09-10 12:01:00 +0200
commitcb2be9d5d57c34a70f0c549b780183f8c73aec4b (patch)
treef23412a2d6fbce2bac67995bfc07a8595f65594c /docs
parent3d716467a9f046c7af4fb62c13e6b975c06c135f (diff)
Refs #29546 -- Removed django.utils.timezone.FixedOffset per deprecation timeline.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/utils.txt9
-rw-r--r--docs/releases/3.1.txt2
2 files changed, 2 insertions, 9 deletions
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.