summaryrefslogtreecommitdiff
path: root/tests/get_or_create
Commit message (Expand)AuthorAgeFilesLines
* Fixed #34280 -- Allowed specifying different field values for create operatio...tschilling2023-02-142-11/+95
* Refs #33476 -- Applied Black's 2023 stable style.David Smith2023-02-011-1/+0
* Corrected test_update_or_create_with_model_property_defaults test.Msvstl2022-10-291-1/+1
* Fixed #32095 -- Made QuerySet.update_or_create() save only fields passed in d...sarahboyce2022-09-302-0/+27
* Added tests for QuerySet.update_or_create() with multi-table inheritance.sarahboyce2022-09-272-0/+14
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-1/+4
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-072-126/+180
* Removed unused __str__() methods in tests models.Mariusz Felisiak2020-04-301-3/+0
* Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette2018-11-271-4/+6
* Fixed #29499 -- Fixed race condition in QuerySet.update_or_create().Michael Sanders2018-08-022-1/+59
* Fixed #29413 -- Prevented evaluation of QuerySet.get_or_create()/update_or_cr...Viktor Danyliuk2018-07-161-8/+32
* Fixed #29126 -- Doc'd the behavior of QuerySet.update_or_create() with manual...Tim Graham2018-02-151-0/+13
* Fixed #28222 -- Allowed settable properties in QuerySet.update_or_create()/ge...Alex2017-05-272-0/+30
* Decreased max_length for char fields unless absolutely needed. (#8485)Florian Apolloner2017-05-101-1/+1
* Refs #27795 -- Reworked get_or_create test erroneously mixing bytes and str.Jon Dufresne2017-05-011-16/+10
* Refs #23919 -- Removed unneeded str() callsClaude Paroz2017-01-201-1/+1
* Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz2017-01-181-2/+0
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-182-4/+0
* Refs #27118 -- Reallowed using pk in QuerySet.get/update_or_create().François Freitag2016-10-041-0/+12
* Fixed #27271 -- Fixed a crash in runserver logging.Sergey Fursov2016-09-271-1/+2
* Fixed #27118 -- Made QuerySet.get_or_create()/update_or_create() error for a ...François Freitag2016-09-241-1/+26
* Fixed #26933 -- Fixed flaky update_or_create() test from refs #26804.Jensen Cochran2016-07-281-5/+18
* Fixed #26804 -- Fixed a race condition in QuerySet.update_or_create().Jensen Cochran2016-07-141-2/+51
* Fixed #26884 -- Evaluated callables in QuerySet.update_or_create()'s defaults...Kenneth2016-07-121-1/+13
* Replaced use of TestCase.fail() with assertRaises().Tim Graham2016-06-281-6/+3
* Fixed #26638 -- Allowed callable arguments for QuerySet.get_or_create()/updat...Will Koster2016-06-031-0/+26
* Refs #26022 -- Used context manager version of assertRaises in tests.Hasan2016-01-291-15/+10
* Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey...Flavio Curella2015-07-271-2/+7
* Refs #22728 - Added missing tests for defaults__exact caseAndriy Sokolovskiy2015-06-052-0/+45
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-5/+7
* Applied ignore_warnings to Django testsClaude Paroz2014-12-301-8/+6
* Fixed misplaced test case.Loic Bistuer2014-10-081-59/+59
* Fixed #23611 -- update_or_create failing from a related managerLoic Bistuer2014-10-081-1/+52
* Consolidated get_or_create tests.Aymeric Augustin2014-04-212-9/+75
* Fixed flake8 warnings introduced in recent commits.Simon Charette2014-04-161-9/+8
* Refs #18586 - Refactored model get_or_create test.Liav Koren2014-04-141-27/+66
* Fixed E124 pep8 warnings.Loic Bistuer2013-12-101-3/+6
* Removed unused local variables in tests.Tim Graham2013-10-191-3/+3
* Translated a test to English for consistency.Aymeric Augustin2013-09-221-1/+1
* Removed most of absolute_import importsClaude Paroz2013-07-291-2/+2
* Fixed #20429 -- Added QuerySet.update_or_createKarol Sikora2013-07-121-0/+65
* Defined available_apps in relevant tests.Aymeric Augustin2013-06-101-0/+2
* Fixed #16137 - Removed kwargs requirement for QuerySet.get_or_createTim Graham2013-05-272-1/+14
* Fixed get_or_create...test_savepoint_rollback test for Python3Shai Berger2013-05-261-1/+1
* Fix get_or_create test failure under OracleShai Berger2013-05-261-1/+2
* Fixed #20463 -- Made get_or_create more robust.Aymeric Augustin2013-05-221-1/+19
* Lower the max length for a test field so that it works on MySQL.Alex Gaynor2013-05-191-1/+1
* Fixes #18896. Add tests verifying that you can get IntegrityErrors using get_...Pablo Recio2013-05-192-1/+35
* Tested that get_or_create raises IntegrityError.Aymeric Augustin2013-04-282-2/+19
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-263-0/+92