index
:
delta/python-packages/django.git
1.8
15667
16682
24046
24215
24525
26176
3.2-man-page
4.0/make-zoneinfo-default-timezone-implementation-squashed
alex-patch-1
attic/boulder-oracle-sprint
attic/full-history
attic/generic-auth
attic/gis
attic/i18n
attic/magic-removal
attic/multi-auth
attic/multiple-db-support
attic/new-admin
attic/newforms-admin
attic/per-object-permissions
attic/queryset-refactor
attic/schema-evolution
attic/schema-evolution-ng
attic/search-api
attic/sqlalchemy
attic/unicode
c/29988-allow-f-strings
c/32409-async-tests-cannot-call-orm
c/append-slash-opt-out
c/replace-utcnow
c/use-bpo-extlink
dep0005
dep5
fix-cache-test
fix/remove-stray-file
issue/31570
link-to-code-of-conduct
main
make-zoneinfo-default-timezone-implementation
master
remove-unnecesary-if-wrap
selenium-updates
sir-sigurd-patch-1
soc2009/admin-ui
soc2009/http-wsgi-improvements
soc2009/i18n-improvements
soc2009/model-validation
soc2009/multidb
soc2009/test-improvements
soc2010/app-loading
soc2010/query-refactor
soc2010/test-refactor
stable/0.90.x
stable/0.91.x
stable/0.95.x
stable/0.96.x
stable/1.0.x
stable/1.1.x
stable/1.10.x
stable/1.11.x
stable/1.2.x
stable/1.3.x
stable/1.4.x
stable/1.5.x
stable/1.6.x
stable/1.7.x
stable/1.8.x
stable/1.9.x
stable/2.0.x
stable/2.1.x
stable/2.2.x
stable/3.0.x
stable/3.1.x
stable/3.2.x
stable/4.0.x
stable/4.1.x
stable/4.2.x
swap-closing-quote-period-in-admin-i18nable-literal
ticket-25055
ticket-31342
update-next-docs-version
github.com: django/django.git
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
get_or_create
Commit message (
Expand
)
Author
Age
Files
Lines
*
Fixed #34280 -- Allowed specifying different field values for create operatio...
tschilling
2023-02-14
2
-11
/
+95
*
Refs #33476 -- Applied Black's 2023 stable style.
David Smith
2023-02-01
1
-1
/
+0
*
Corrected test_update_or_create_with_model_property_defaults test.
Msvstl
2022-10-29
1
-1
/
+1
*
Fixed #32095 -- Made QuerySet.update_or_create() save only fields passed in d...
sarahboyce
2022-09-30
2
-0
/
+27
*
Added tests for QuerySet.update_or_create() with multi-table inheritance.
sarahboyce
2022-09-27
2
-0
/
+14
*
Refs #33476 -- Refactored code to strictly match 88 characters line length.
Mariusz Felisiak
2022-02-07
1
-1
/
+4
*
Refs #33476 -- Reformatted code with Black.
django-bot
2022-02-07
2
-126
/
+180
*
Removed unused __str__() methods in tests models.
Mariusz Felisiak
2020-04-30
1
-3
/
+0
*
Switched setUp() to setUpTestData() where possible in Django's tests.
Simon Charette
2018-11-27
1
-4
/
+6
*
Fixed #29499 -- Fixed race condition in QuerySet.update_or_create().
Michael Sanders
2018-08-02
2
-1
/
+59
*
Fixed #29413 -- Prevented evaluation of QuerySet.get_or_create()/update_or_cr...
Viktor Danyliuk
2018-07-16
1
-8
/
+32
*
Fixed #29126 -- Doc'd the behavior of QuerySet.update_or_create() with manual...
Tim Graham
2018-02-15
1
-0
/
+13
*
Fixed #28222 -- Allowed settable properties in QuerySet.update_or_create()/ge...
Alex
2017-05-27
2
-0
/
+30
*
Decreased max_length for char fields unless absolutely needed. (#8485)
Florian Apolloner
2017-05-10
1
-1
/
+1
*
Refs #27795 -- Reworked get_or_create test erroneously mixing bytes and str.
Jon Dufresne
2017-05-01
1
-16
/
+10
*
Refs #23919 -- Removed unneeded str() calls
Claude Paroz
2017-01-20
1
-1
/
+1
*
Refs #23919 -- Removed python_2_unicode_compatible decorator usage
Claude Paroz
2017-01-18
1
-2
/
+0
*
Refs #23919 -- Removed encoding preambles and future imports
Claude Paroz
2017-01-18
2
-4
/
+0
*
Refs #27118 -- Reallowed using pk in QuerySet.get/update_or_create().
François Freitag
2016-10-04
1
-0
/
+12
*
Fixed #27271 -- Fixed a crash in runserver logging.
Sergey Fursov
2016-09-27
1
-1
/
+2
*
Fixed #27118 -- Made QuerySet.get_or_create()/update_or_create() error for a ...
François Freitag
2016-09-24
1
-1
/
+26
*
Fixed #26933 -- Fixed flaky update_or_create() test from refs #26804.
Jensen Cochran
2016-07-28
1
-5
/
+18
*
Fixed #26804 -- Fixed a race condition in QuerySet.update_or_create().
Jensen Cochran
2016-07-14
1
-2
/
+51
*
Fixed #26884 -- Evaluated callables in QuerySet.update_or_create()'s defaults...
Kenneth
2016-07-12
1
-1
/
+13
*
Replaced use of TestCase.fail() with assertRaises().
Tim Graham
2016-06-28
1
-6
/
+3
*
Fixed #26638 -- Allowed callable arguments for QuerySet.get_or_create()/updat...
Will Koster
2016-06-03
1
-0
/
+26
*
Refs #26022 -- Used context manager version of assertRaises in tests.
Hasan
2016-01-29
1
-15
/
+10
*
Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey...
Flavio Curella
2015-07-27
1
-2
/
+7
*
Refs #22728 - Added missing tests for defaults__exact case
Andriy Sokolovskiy
2015-06-05
2
-0
/
+45
*
Sorted imports with isort; refs #23860.
Tim Graham
2015-02-06
1
-5
/
+7
*
Applied ignore_warnings to Django tests
Claude Paroz
2014-12-30
1
-8
/
+6
*
Fixed misplaced test case.
Loic Bistuer
2014-10-08
1
-59
/
+59
*
Fixed #23611 -- update_or_create failing from a related manager
Loic Bistuer
2014-10-08
1
-1
/
+52
*
Consolidated get_or_create tests.
Aymeric Augustin
2014-04-21
2
-9
/
+75
*
Fixed flake8 warnings introduced in recent commits.
Simon Charette
2014-04-16
1
-9
/
+8
*
Refs #18586 - Refactored model get_or_create test.
Liav Koren
2014-04-14
1
-27
/
+66
*
Fixed E124 pep8 warnings.
Loic Bistuer
2013-12-10
1
-3
/
+6
*
Removed unused local variables in tests.
Tim Graham
2013-10-19
1
-3
/
+3
*
Translated a test to English for consistency.
Aymeric Augustin
2013-09-22
1
-1
/
+1
*
Removed most of absolute_import imports
Claude Paroz
2013-07-29
1
-2
/
+2
*
Fixed #20429 -- Added QuerySet.update_or_create
Karol Sikora
2013-07-12
1
-0
/
+65
*
Defined available_apps in relevant tests.
Aymeric Augustin
2013-06-10
1
-0
/
+2
*
Fixed #16137 - Removed kwargs requirement for QuerySet.get_or_create
Tim Graham
2013-05-27
2
-1
/
+14
*
Fixed get_or_create...test_savepoint_rollback test for Python3
Shai Berger
2013-05-26
1
-1
/
+1
*
Fix get_or_create test failure under Oracle
Shai Berger
2013-05-26
1
-1
/
+2
*
Fixed #20463 -- Made get_or_create more robust.
Aymeric Augustin
2013-05-22
1
-1
/
+19
*
Lower the max length for a test field so that it works on MySQL.
Alex Gaynor
2013-05-19
1
-1
/
+1
*
Fixes #18896. Add tests verifying that you can get IntegrityErrors using get_...
Pablo Recio
2013-05-19
2
-1
/
+35
*
Tested that get_or_create raises IntegrityError.
Aymeric Augustin
2013-04-28
2
-2
/
+19
*
Merged regressiontests and modeltests into the test root.
Florian Apolloner
2013-02-26
3
-0
/
+92