mirror of https://github.com/django/django.git
parent
f633ba778d
commit
bf1bb07bf0
|
@ -107,6 +107,9 @@ Bugfixes
|
||||||
* Made :func:`~django.utils.http.urlsafe_base64_decode` return the proper
|
* Made :func:`~django.utils.http.urlsafe_base64_decode` return the proper
|
||||||
type (byte string) on Python 3 (:ticket:`23333`).
|
type (byte string) on Python 3 (:ticket:`23333`).
|
||||||
|
|
||||||
|
* :djadmin:`makemigrations` can now serialize timezone-aware values
|
||||||
|
(:ticket:`23365`).
|
||||||
|
|
||||||
* Added a prompt to the migrations questioner when removing the null constraint
|
* Added a prompt to the migrations questioner when removing the null constraint
|
||||||
from a field to prevent an IntegrityError on existing NULL rows
|
from a field to prevent an IntegrityError on existing NULL rows
|
||||||
(:ticket:`23609`).
|
(:ticket:`23609`).
|
||||||
|
|
|
@ -269,8 +269,6 @@ Management Commands
|
||||||
* The :djadminopt:`--name` option for :djadmin:`makemigrations` allows you to
|
* The :djadminopt:`--name` option for :djadmin:`makemigrations` allows you to
|
||||||
to give the migration(s) a custom name instead of a generated one.
|
to give the migration(s) a custom name instead of a generated one.
|
||||||
|
|
||||||
* :djadmin:`makemigrations` can now serialize timezone-aware values.
|
|
||||||
|
|
||||||
Migrations
|
Migrations
|
||||||
^^^^^^^^^^
|
^^^^^^^^^^
|
||||||
|
|
||||||
|
|
|
@ -550,7 +550,7 @@ Django can serialize the following:
|
||||||
- Any class reference (must be in module's top-level scope)
|
- Any class reference (must be in module's top-level scope)
|
||||||
- Anything with a custom ``deconstruct()`` method (:ref:`see below <custom-deconstruct-method>`)
|
- Anything with a custom ``deconstruct()`` method (:ref:`see below <custom-deconstruct-method>`)
|
||||||
|
|
||||||
.. versionchanged:: 1.8
|
.. versionchanged:: 1.7.1
|
||||||
|
|
||||||
Support for serializing timezone-aware datetimes was added.
|
Support for serializing timezone-aware datetimes was added.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue