Salvo Polizzi
|
3915d4c70d
Fixed #35060 -- Deprecated passing positional arguments to Model.save()/asave().
|
il y a 1 an |
Simon Charette
|
978680db22
Refs #34925 -- Avoided altering passed by reference refresh_from_db(fields).
|
il y a 1 an |
trontelj
|
b0ec87b857
Fixed #34925 -- Prevented Model.refresh_from_db() from mutating list of fields.
|
il y a 1 an |
Ian Foote
|
7414704e88
Fixed #470 -- Added support for database defaults on fields.
|
il y a 4 ans |
David Smith
|
097e3a70c1
Refs #33476 -- Applied Black's 2023 stable style.
|
il y a 2 ans |
Gregor Gärtner
|
f0c06f8ab7
Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().
|
il y a 2 ans |
David Wobrock
|
3b4a5b9f97
Fixed #23353 -- Used "raise from" when raising TransactionManagementError.
|
il y a 2 ans |
kshivakumar
|
46efd03d26
Fixed #33733 -- Preserved wrapper assignment for manager methods.
|
il y a 2 ans |
Mariusz Felisiak
|
0982cf2a01
Refs #33733 -- Added tests for attributes of manager methods.
|
il y a 2 ans |
Andrew Godwin
|
58b27e0dbb
Fixed #33646 -- Added async-compatible interface to QuerySet.
|
il y a 3 ans |
Nick Pope
|
847f46e9bf
Removed redundant QuerySet.all() calls in docs and tests.
|
il y a 3 ans |
Mariusz Felisiak
|
7119f40c98
Refs #33476 -- Refactored code to strictly match 88 characters line length.
|
il y a 3 ans |
django-bot
|
9c19aff7c7
Refs #33476 -- Reformatted code with Black.
|
il y a 3 ans |
Adam Johnson
|
08d8bccbf1
Improved Model.__init__() properties loop.
|
il y a 3 ans |
Johan Schiff
|
d01709aae2
Fixed #24141 -- Added QuerySet.contains().
|
il y a 4 ans |
Jacob Walls
|
73b1b225ce
Fixed #22640 -- Raised TypeError when instantiating model with keyword and positional args for the same field.
|
il y a 4 ans |
Hasan Ramezani
|
3f7b327562
Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly.
|
il y a 4 ans |
Alexandr Tatarinov
|
f4ac167119
Fixed #27719 -- Added QuerySet.alias() to allow creating reusable aliases.
|
il y a 4 ans |
Abhijeet Viswa
|
babd412685
Fixed #29129 -- Skipped UPDATE when adding a model instance with inherited primary key that has a default.
|
il y a 5 ans |
Nick Pope
|
335c9c94ac
Simplified imports from django.db and django.contrib.gis.db.
|
il y a 5 ans |
ElizabethU
|
54ea290e5b
Fixed #30651 -- Made __eq__() methods return NotImplemented for not implemented comparisons.
|
il y a 5 ans |
Hasan Ramezani
|
85458e94e3
Fixed #29260 -- Skipped an UPDATE when adding a model instance with primary key that has a default.
|
il y a 5 ans |
Amir Hadi
|
330638b89f
Fixed #6785 -- Made QuerySet.get() fetch a limited number of rows.
|
il y a 6 ans |
Carlton Gibson
|
607ff4efa3
Refs #30254 -- Added tests for Model.__hash__() inheritance.
|
il y a 6 ans |
Simon Charette
|
84e7a9f4a7
Switched setUp() to setUpTestData() where possible in Django's tests.
|
il y a 6 ans |
Hasan Ramezani
|
cf915cb513
Added a test for a lookup in Model.refresh_from_db(fields=[...]).
|
il y a 6 ans |
oliver
|
0ce2ad9ca4
Used QuerySet.bulk_create() in a couple tests.
|
il y a 6 ans |
Tom Forbes
|
9cbdb44014
Fixed #23646 -- Added QuerySet.bulk_update() to efficiently update many models.
|
il y a 6 ans |
Ming Qin
|
cfb4845f06
Fixed #29625 -- Made Model.refresh_from_db() clear prefetch related caches.
|
il y a 6 ans |
Federico Bond
|
4c36414323
Fixed #29517 -- Rephrased error message when passing incorrect kwarg to model constructor
|
il y a 6 ans |