mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #25160 -- Moved unsaved model instance data loss check to Model.save()
This mostly reverts5643a3b51band81e1a35c36. Thanks Carl Meyer for review.
This commit is contained in:
@@ -27,3 +27,7 @@ Bugfixes
|
||||
|
||||
* Fixed the recording of squashed migrations when running the ``migrate``
|
||||
command (:ticket:`25231`).
|
||||
|
||||
* Moved the :ref:`unsaved model instance assignment data loss check
|
||||
<unsaved-model-instance-check-18>` to ``Model.save()`` to allow easier usage
|
||||
of in-memory models (:ticket:`25160`).
|
||||
|
||||
Reference in New Issue
Block a user