#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
-------------------------------------+-------------------------------------
Changes (by Aymeric Augustin <aymeric.augustin@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"c3904deb919823af577adf5d9d35e9c113eb8289" c3904deb]:
 {{{
 #!CommitTicketReference repository=""
 revision="c3904deb919823af577adf5d9d35e9c113eb8289"
 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.
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25160#comment:15>
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.0e03ed5de9749d7855a45c519d775db5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to