summaryrefslogtreecommitdiff
path: root/tests/get_or_create
AgeCommit message (Expand)Author
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-01-15Refs #29499 -- Fixed race condition in update_or_create() test.Simon Charette
2024-02-21Removed obsolete test_get_or_create_raises_IntegrityError_plus_traceback() test.Mariusz Felisiak
2023-02-14Fixed #34280 -- Allowed specifying different field values for create operatio...tschilling
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
2022-10-29Corrected test_update_or_create_with_model_property_defaults test.Msvstl
2022-09-30Fixed #32095 -- Made QuerySet.update_or_create() save only fields passed in d...sarahboyce
2022-09-27Added tests for QuerySet.update_or_create() with multi-table inheritance.sarahboyce
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
2020-04-30Removed unused __str__() methods in tests models.Mariusz Felisiak
2018-11-27Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette
2018-08-02Fixed #29499 -- Fixed race condition in QuerySet.update_or_create().Michael Sanders
2018-07-16Fixed #29413 -- Prevented evaluation of QuerySet.get_or_create()/update_or_cr...Viktor Danyliuk
2018-02-15Fixed #29126 -- Doc'd the behavior of QuerySet.update_or_create() with manual...Tim Graham
2017-05-27Fixed #28222 -- Allowed settable properties in QuerySet.update_or_create()/ge...Alex
2017-05-10Decreased max_length for char fields unless absolutely needed. (#8485)Florian Apolloner
2017-05-01Refs #27795 -- Reworked get_or_create test erroneously mixing bytes and str.Jon Dufresne
2017-01-20Refs #23919 -- Removed unneeded str() callsClaude Paroz
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-10-04Refs #27118 -- Reallowed using pk in QuerySet.get/update_or_create().François Freitag
2016-09-27Fixed #27271 -- Fixed a crash in runserver logging.Sergey Fursov
2016-09-24Fixed #27118 -- Made QuerySet.get_or_create()/update_or_create() error for a ...François Freitag
2016-07-28Fixed #26933 -- Fixed flaky update_or_create() test from refs #26804.Jensen Cochran
2016-07-14Fixed #26804 -- Fixed a race condition in QuerySet.update_or_create().Jensen Cochran
2016-07-12Fixed #26884 -- Evaluated callables in QuerySet.update_or_create()'s defaults...Kenneth
2016-06-28Replaced use of TestCase.fail() with assertRaises().Tim Graham
2016-06-03Fixed #26638 -- Allowed callable arguments for QuerySet.get_or_create()/updat...Will Koster
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey...Flavio Curella
2015-06-05Refs #22728 - Added missing tests for defaults__exact caseAndriy Sokolovskiy
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-12-30Applied ignore_warnings to Django testsClaude Paroz
2014-10-08Fixed misplaced test case.Loic Bistuer
2014-10-08Fixed #23611 -- update_or_create failing from a related managerLoic Bistuer
2014-04-21Consolidated get_or_create tests.Aymeric Augustin
2014-04-16Fixed flake8 warnings introduced in recent commits.Simon Charette
2014-04-14Refs #18586 - Refactored model get_or_create test.Liav Koren
2013-12-10Fixed E124 pep8 warnings.Loic Bistuer
2013-10-19Removed unused local variables in tests.Tim Graham
2013-09-22Translated a test to English for consistency.Aymeric Augustin
2013-07-29Removed most of absolute_import importsClaude Paroz
2013-07-12Fixed #20429 -- Added QuerySet.update_or_createKarol Sikora
2013-06-10Defined available_apps in relevant tests.Aymeric Augustin
2013-05-27Fixed #16137 - Removed kwargs requirement for QuerySet.get_or_createTim Graham
2013-05-26Fixed get_or_create...test_savepoint_rollback test for Python3Shai Berger
2013-05-26Fix get_or_create test failure under OracleShai Berger
2013-05-22Fixed #20463 -- Made get_or_create more robust.Aymeric Augustin
2013-05-19Lower the max length for a test field so that it works on MySQL.Alex Gaynor