summaryrefslogtreecommitdiff
path: root/tests/sites_tests
AgeCommit message (Expand)Author
13 daysFixed #37024 -- Made SITE_ID system check validation use Site._meta.pk.Tim Graham
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2023-12-31Used addCleanup() in tests where appropriate.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-07-27Refs #32956 -- Changed "afterwards" to "afterward" in docs and comments.David Smith
2020-07-24Fixed #31802 -- Added system check for non-integer SITE_ID.Parth Verma
2020-02-14Removed redundant MiddlewareTest.test_old_style_request() test.Claude Paroz
2019-12-27Fixed #31121 -- Cleared Site cache in SitesFrameworkTests.Claude Paroz
2019-01-10Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in f...Simon Charette
2018-11-27Adjusted code style of a few test data setup methods.Simon Charette
2018-11-27Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette
2017-09-28Added tests for RequestSite.__init__() and __str__().Mads Jensen
2017-09-28Added a separate test class for RequestSite.Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-29Fixed #27181 -- Allowed contrib.sites to match domains with trailing ".".Anton Samarchyan
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-06-20Refs #26666 -- Added ALLOWED_HOSTS validation when running tests.Tobias McNulty
2016-06-07Fixed #26716 -- Made CurrentSiteMiddleware compatible with new-style middleware.Brett Haydon
2016-05-15Fixed #24075 -- Used post-migration models in contrib apps receivers.Simon Charette
2016-04-03Fixed #26446 -- Added additional tests to cover methods in the RequestSite classPiers Storey
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2015-11-07Fixed #25692 -- Added natural keys support to Site model.j0hnsmith
2015-06-18Fixed reverse sites_tests failures introduced in refs #24834.Tim Graham
2015-06-18Fixed #24834 -- Fixed get_current_site() when Host header contains port.Nick Pope
2015-05-16Fixed #24774 -- Made contrib.site's Site.domain field uniquePiotr Jakimiak
2015-03-16Fixed #24488 -- Made create_default_site() use default pk of 1.Marten Kenbeek
2015-02-20Fixed #24351, #24346 -- Changed the signature of allow_migrate().Loic Bistuer
2015-02-13Fixed #24332 -- Fixed contrib.sites create_default_site() when 'default' DATA...Tim Graham
2015-02-11Moved contrib.sites tests out of contrib.Tim Graham