1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Refs #29546 -- Removed django.utils.timezone.FixedOffset per deprecation timeline.

This commit is contained in:
Mariusz Felisiak
2019-09-06 07:59:06 +02:00
parent 3d716467a9
commit cb2be9d5d5
4 changed files with 3 additions and 69 deletions

View File

@@ -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

View File

@@ -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.