1
0
mirror of https://github.com/django/django.git synced 2024-12-27 19:46:22 +00:00
django/tests/regressiontests/m2m_through_regress
Anssi Kääriäinen 611c4d6f1c 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.
2012-10-28 17:31:35 +02:00
..
fixtures Fixed #11107 -- Corrected the generation of sequence reset SQL for m2m fields with an intermediate model. Thanks to J Clifford Dyer for the report and fix. 2009-07-11 14:22:52 +00:00
__init__.py
models.py Fixed #18823 -- Ensured m2m.clear() works when using through+to_field 2012-10-28 17:31:35 +02:00
tests.py Fixed #18823 -- Ensured m2m.clear() works when using through+to_field 2012-10-28 17:31:35 +02:00