<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chango.git/tests/admin_views/test_multidb.py, branch devmain</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/chango.git/atom?h=devmain</id>
<link rel='self' href='http://cgit.adnoto.dev/chango.git/atom?h=devmain'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/'/>
<updated>2026-06-08T17:04:01Z</updated>
<entry>
<title>Refs #16281 -- Fixed isolation of admin_views.ViewOnSiteTests.</title>
<updated>2026-06-08T17:04:01Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2026-06-08T15:30:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=59a89d1008ab9220275fbdcff2a44d9bbd920032'/>
<id>urn:sha1:59a89d1008ab9220275fbdcff2a44d9bbd920032</id>
<content type='text'>
We were seeing this occasional failure in FlatpagesSitemapTests.setUpClass(),
which was unexpectedly attempting a write on the "other" database because
of an instance hint from a cached Site:

django.test.testcases.DatabaseOperationForbidden:
Database queries to 'other' are not allowed in this test. Add 'other' to flatpages_tests.test_sitemaps.FlatpagesSitemapTests.databases to
ensure proper test isolation and silence this failure.
</content>
</entry>
<entry>
<title>Fixed #35520 -- Avoided opening transaction for read-only ModelAdmin requests.</title>
<updated>2024-07-04T09:38:58Z</updated>
<author>
<name>Jake Howard</name>
<email>git@theorangeone.net</email>
</author>
<published>2024-06-11T18:27:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=53e674d5744faad61e52d8459c9198b2aa6f63dd'/>
<id>urn:sha1:53e674d5744faad61e52d8459c9198b2aa6f63dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #16281 -- Fixed ContentType.get_object_for_this_type() in a multiple database setup.</title>
<updated>2024-02-05T07:25:23Z</updated>
<author>
<name>Ben Cail</name>
<email>bcail@crossway.org</email>
</author>
<published>2023-11-15T19:32:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=02a600ff67f7b106cdcab22310bacea98c1a26ba'/>
<id>urn:sha1:02a600ff67f7b106cdcab22310bacea98c1a26ba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed various tests on MySQL with MyISAM storage engine.</title>
<updated>2022-04-18T05:05:52Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2022-04-14T10:54:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=8e89dfe1c24540d33b577377af633694ff57f505'/>
<id>urn:sha1:8e89dfe1c24540d33b577377af633694ff57f505</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #33476 -- Reformatted code with Black.</title>
<updated>2022-02-07T19:37:05Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2022-02-03T19:24:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=9c19aff7c7561e3a82978a272ecdaad40dda5c00'/>
<id>urn:sha1:9c19aff7c7561e3a82978a272ecdaad40dda5c00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #31117 -- Made various tests properly handle unexpected databases aliases.</title>
<updated>2020-01-20T13:39:02Z</updated>
<author>
<name>Matthijs Kooijman</name>
<email>matthijs@stdin.nl</email>
</author>
<published>2019-12-20T19:49:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=2a2ea4ee18fdcf2c95bf6435bc63b74623e3085b'/>
<id>urn:sha1:2a2ea4ee18fdcf2c95bf6435bc63b74623e3085b</id>
<content type='text'>
- Used selected "databases" instead of django.db.connections.
- Made routers in tests.migrations skip migrations on unexpected
  databases.
- Added DiscoverRunnerGetDatabasesTests.assertSkippedDatabases() hook
  which properly asserts messages about skipped databases.
</content>
</entry>
<entry>
<title>Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in favor of databases.</title>
<updated>2019-01-11T00:11:21Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2018-07-12T04:12:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=8c775391b78b2a4a2b57c5e89ed4888f36aada4b'/>
<id>urn:sha1:8c775391b78b2a4a2b57c5e89ed4888f36aada4b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Updated test URL patterns to use path() and re_path().</title>
<updated>2018-12-31T15:47:32Z</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2018-12-07T22:52:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=043bd709425149b8eff3fb821cba5c23aaebd0df'/>
<id>urn:sha1:043bd709425149b8eff3fb821cba5c23aaebd0df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #27804 -- Used subTest() in several tests.</title>
<updated>2017-05-24T12:36:34Z</updated>
<author>
<name>Bruno Alla</name>
<email>bruno.alla@founders4schools.org.uk</email>
</author>
<published>2017-03-07T21:00:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=6092ea8fa62191bf9ed8ebaae3125dcde9c4bbec'/>
<id>urn:sha1:6092ea8fa62191bf9ed8ebaae3125dcde9c4bbec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.</title>
<updated>2017-01-20T13:17:20Z</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2017-01-19T17:16:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=7aba69145dcb436539a7798086748b73a39121e5'/>
<id>urn:sha1:7aba69145dcb436539a7798086748b73a39121e5</id>
<content type='text'>
</content>
</entry>
</feed>
