Branch: refs/heads/stable/1.5.x Home: https://github.com/django/django Commit: f105fbe52b21da206bfbaedf0e92326667d7b2d4 https://github.com/django/django/commit/f105fbe52b21da206bfbaedf0e92326667d7b2d4 Author: Anssi Kääriäinen <akaar...@gmail.com> Date: 2012-10-28 (Sun, 28 Oct 2012)
Changed paths: M django/db/models/fields/related.py M tests/regressiontests/m2m_through_regress/models.py M tests/regressiontests/m2m_through_regress/tests.py Log Message: ----------- [1.5.x] Fixed #18823 -- Ensured m2m.clear() works when using through+to_field There was a potential data-loss issue involved -- when clearing instance's m2m assignments it was possible some other instance's m2m data was deleted instead. This commit also improved None handling for to_field cases. Backpatch of 611c4d6f1c24763e5e6e331a5dcf9b610288aaa8 -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.