#25160: Move unsaved model instance assignment check to model.save()
-------------------------------------+-------------------------------------
     Reporter:  timgraham            |                    Owner:  aaugustin
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Database layer       |                  Version:  1.8
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Aymeric Augustin <aymeric.augustin@…>):

 In [changeset:"1abd177696ef72843557980fbdd352176ed2800e" 1abd177]:
 {{{
 #!CommitTicketReference repository=""
 revision="1abd177696ef72843557980fbdd352176ed2800e"
 [1.8.x] Fixed #25160 (again) -- Moved data loss check on reverse
 relations.

 Moved data loss check when assigning to a reverse one-to-one relation on
 an unsaved instance to Model.save(). This is exactly the same change as
 e4b813c but for reverse relations.

 Backport of c3904de from master
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25160#comment:16>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.1175216b9ace1ef38396694d6507b08e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to