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
__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