mirror of
https://github.com/django/django.git
synced 2024-11-18 07:26:04 +00:00
7e6d852bac
Changed the shortcuts next to date and time intput widgets to account for the current timezone. Refs #7717, #14253 and #18768.
61 lines
2.3 KiB
Plaintext
61 lines
2.3 KiB
Plaintext
============================================
|
|
Django 1.7 release notes - UNDER DEVELOPMENT
|
|
============================================
|
|
|
|
Welcome to Django 1.7!
|
|
|
|
These release notes cover the `new features`_, as well as some `backwards
|
|
incompatible changes`_ you'll want to be aware of when upgrading from Django
|
|
1.6 or older versions. We've also dropped some features, which are detailed in
|
|
:doc:`our deprecation plan </internals/deprecation>`, and we've `begun the
|
|
deprecation process for some features`_.
|
|
|
|
.. _`new features`: `What's new in Django 1.7`_
|
|
.. _`backwards incompatible changes`: `Backwards incompatible changes in 1.7`_
|
|
.. _`begun the deprecation process for some features`: `Features deprecated in 1.7`_
|
|
|
|
What's new in Django 1.7
|
|
========================
|
|
|
|
Admin shortcuts support time zones
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
The "today" and "now" shortcuts next to date and time input widgets in the
|
|
admin are now operating in the :ref:`current time zone
|
|
<default-current-time-zone>`. Previously, they used the browser time zone,
|
|
which could result in saving the wrong value when it didn't match the current
|
|
time zone on the server.
|
|
|
|
In addition, the widgets now display a help message when the browser and
|
|
server time zone are different, to clarify how the value inserted in the field
|
|
will be interpreted.
|
|
|
|
Backwards incompatible changes in 1.7
|
|
=====================================
|
|
|
|
.. warning::
|
|
|
|
In addition to the changes outlined in this section, be sure to review the
|
|
:doc:`deprecation plan </internals/deprecation>` for any features that
|
|
have been removed. If you haven't updated your code within the
|
|
deprecation timeline for a given feature, its removal may appear as a
|
|
backwards incompatible change.
|
|
|
|
Features deprecated in 1.7
|
|
==========================
|
|
|
|
``django.utils.dictconfig``
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
``django.utils.dictconfig`` was a copy of :mod:`logging.config` provided for
|
|
Python versions prior to 2.7. It has been deprecated.
|
|
|
|
``django.utils.unittest``
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
``django.utils.unittest`` provided uniform access to the ``unittest2`` library
|
|
on all Python versions. Since ``unittest2`` became the standard library's
|
|
:mod:`unittest` module in Python 2.7, and Django 1.7 drops support for older
|
|
Python versions, this module isn't useful anymore. It has been deprecated. Use
|
|
:mod:`unittest` instead.
|