django1/tests
Carl Meyer 4e9a74b81d Revert "Fixed #16865 -- Made get_or_create use read database for initial get query."
Thanks to Jeremy Dunck for pointing out the problem with this change. If in a
single transaction, the master deletes a record and then get_or_creates a
similar record, under the new behavior the get_or_create would find the record
in the slave db and fail to re-create it, leaving the record nonexistent, which
violates the contract of get_or_create that the record should always exist
afterwards. We need to do everything against the master here in order to ensure
correctness.

This reverts commit 901af86550.
2012-09-19 11:15:12 -06:00
..
modeltests Revert "Fixed #16865 -- Made get_or_create use read database for initial get query." 2012-09-19 11:15:12 -06:00
regressiontests Fixed #18980 -- Fixed assertContains regression when passed an object 2012-09-18 21:05:41 +02:00
templates Fixed #13897 -- Added tests for pagination feature of the generic object_list view. Thanks, d0ugal and SmileyChris. 2010-10-01 02:01:20 +00:00
runtests.py Fixed #15552 -- LOGIN_URL and LOGIN_REDIRECT_URL can take URLpattern names. 2012-09-08 16:58:35 -06:00
test_sqlite.py Use faster password hasher in sqlite tests 2012-04-30 22:10:27 +03:00
urls.py Made sure the new project template functionality works when the template 2011-12-29 17:03:38 +00:00