django/tests/get_or_create
Aymeric Augustin 0e51d8eb66 Fixed #20463 -- Made get_or_create more robust.
When an exception other than IntegrityError was raised, get_or_create
could fail and leave the database connection in an unusable state.

Thanks UloPe for the report.
2013-05-22 10:56:06 +02:00
..
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py Lower the max length for a test field so that it works on MySQL. 2013-05-19 13:58:58 -07:00
tests.py Fixed #20463 -- Made get_or_create more robust. 2013-05-22 10:56:06 +02:00