django/tests/one_to_one
Anubhav Joshi 5643a3b51b Fixed #10811 -- Made assigning unsaved objects to FK, O2O, and GFK raise ValueError.
This prevents silent data loss.

Thanks Aymeric Augustin for the initial patch and Loic Bistuer for the review.
2014-06-05 13:12:01 -04:00
..
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py Fixed #10811 -- Made assigning unsaved objects to FK, O2O, and GFK raise ValueError. 2014-06-05 13:12:01 -04:00
tests.py Fixed #10811 -- Made assigning unsaved objects to FK, O2O, and GFK raise ValueError. 2014-06-05 13:12:01 -04:00