summaryrefslogtreecommitdiff
path: root/tests/contenttypes_tests
AgeCommit message (Expand)Author
2023-02-01[4.2.x] Refs #33476 -- Applied Black's 2023 stable style.David Smith
2022-11-07Fixed #34137 -- Made Model.refresh_from_db() clear cached generic relations.Bhuvnesh
2022-10-11Completed test coverage for contenttypes models.Marcelo Galigniana
2022-10-10Fixed #32833 -- Fixed ContentTypeManager.get_for_models() crash when using in...Sarah Boyce
2022-04-18Fixed various tests on MySQL with MyISAM storage engine.Mariusz Felisiak
2022-03-15Fixed #31169 -- Adapted the parallel test runner to use spawn.David Smith
2022-03-14Fixed #31357 -- Fixed get_for_models() crash for stale content types when mod...Biel Frontera
2022-03-08Fixed #33563 -- Fixed contenttype reverse data migration crash with a multipl...Hameed Gifford
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-10-14Fixed #33008 -- Fixed prefetch_related() for deleted GenericForeignKeys.Martin Svoboda
2020-09-14Fixed #31789 -- Added a new headers interface to HttpResponse.Tom Carrick
2020-05-15Refs #31395 -- Relied on setUpTestData() test data isolation in various tests.Simon Charette
2020-04-30Removed unused __str__() methods in tests models.Mariusz Felisiak
2020-03-19Fixed #31123 -- Added --include-stale-apps option to the remove_stale_content...gowthamk63
2019-06-06Fixed #29706 -- Made RenameContentType._rename() save to the correct database.Hasan Ramezani
2019-02-07Fixed #16027 -- Added app_label to ContentType.__str__().Gregory N. Schmit
2019-01-10Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in f...Simon Charette
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-12-21Added tests for ContentType/Group/Permission.__str__().Tim Graham
2018-07-10Fixed #29556 -- Made 'remove_stale_contenttypes --noinput' delete content types.Jon Dufresne
2018-07-10Simplified a couple test docstrings.Tim Graham
2018-06-21Refs #18620 -- Refactored ContentTypes view tests to group related field test...Paulo
2018-06-21Fixed #18620 -- Made ContentTypes shortcut view prefer current site if availa...Paulo
2018-06-21Added test for contenttype redirect with m2m objects.Paulo
2018-06-21Corrected location of some contenttypes_tests.Tim Graham
2018-02-02Fixed imports per isort 4.3.1.Tim Graham
2018-02-01Fixed imports per isort 4.3.0.Mariusz Felisiak
2017-06-26Fixed #28313 -- Added model name max length check of 100 characters in contri...michaldabski
2017-06-16Fixed #26936 -- Fixed stale ContentType deletion in apps without models.Pavel Rybintsev
2017-05-24Refs #27804 -- Used subTest() in several tests.Bruno Alla
2017-02-10Added multi_db=True to test cases that access the 'other' db connection.Tim Graham
2017-02-03Refs #27745 -- Improved test coverage of contrib.contenttypes.Anton Samarchyan
2017-02-03Split up contenttypes_tests.Tim Graham
2017-02-03Fixed spelling of "nonexistent".Tim Graham
2017-01-26Refs #23919 -- Replaced usage of django.utils.http utilities with Python equi...Claude Paroz
2017-01-24Removed unneeded force_text calls in the test suiteClaude Paroz
2017-01-20Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.Tim Graham
2017-01-20Refs #23919 -- Removed unneeded force_str callsClaude Paroz
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-13Fixed #27709 -- Fixed get_for_models() for proxies with an empty cache.Simon Charette
2017-01-13Made contenttypes and auth apps unavailable when not necessary in tests.Simon Charette
2017-01-07Simplified a contenttypes check test with mock.Adam Chainz
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-09-06Fixed #24865 -- Added remove_stale_contenttypes management command.Tim Graham
2016-08-10Refs #18682 -- Edited explanation in stale content type deletion.Tim Graham