summaryrefslogtreecommitdiff
path: root/tests/basic
AgeCommit message (Expand)Author
2024-09-09Refs #373 -- Added Model._is_pk_set() abstraction to check if a Model's PK is...Csirmaz Bendegúz
2024-08-28Refs #35060 -- Adjusted deprecation warning stacklevel in Model.save()/asave().Simon Charette
2024-06-26Fixed 35561 -- Made *args and **kwargs parsing more strict in Model.save()/as...nessita
2024-06-25Fixed #35554, Refs #35060 -- Corrected deprecated *args parsing in Model.save...Adam Johnson
2024-05-07Fixed #35425 -- Avoided INSERT with force_update and explicit pk.Jacob Walls
2024-03-08Refs #35044 -- Added Model.refresh_from_db(fields=...) test for clearing reve...Giannis Terzopoulos
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
2024-01-15Fixed #28344 -- Allowed customizing queryset in Model.refresh_from_db()/arefr...Aivars Kalvans
2024-01-02Fixed #35060 -- Deprecated passing positional arguments to Model.save()/asave().Salvo Polizzi
2023-11-25Refs #34925 -- Avoided altering passed by reference refresh_from_db(fields).Simon Charette
2023-11-24Fixed #34925 -- Prevented Model.refresh_from_db() from mutating list of fields.trontelj
2023-05-12Fixed #470 -- Added support for database defaults on fields.Ian Foote
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
2022-10-08Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQue...Gregor Gärtner
2022-10-03Fixed #23353 -- Used "raise from" when raising TransactionManagementError.David Wobrock
2022-06-01Fixed #33733 -- Preserved wrapper assignment for manager methods.kshivakumar
2022-06-01Refs #33733 -- Added tests for attributes of manager methods.Mariusz Felisiak
2022-04-26Fixed #33646 -- Added async-compatible interface to QuerySet.Andrew Godwin
2022-02-22Removed redundant QuerySet.all() calls in docs and tests.Nick Pope
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
2022-01-13Improved Model.__init__() properties loop.Adam Johnson
2021-03-06Fixed #24141 -- Added QuerySet.contains().Johan Schiff
2021-03-01Fixed #22640 -- Raised TypeError when instantiating model with keyword and po...Jacob Walls
2020-11-06Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly.Hasan Ramezani
2020-07-31Fixed #27719 -- Added QuerySet.alias() to allow creating reusable aliases.Alexandr Tatarinov
2020-03-05Fixed #29129 -- Skipped UPDATE when adding a model instance with inherited pr...Abhijeet Viswa
2020-02-04Simplified imports from django.db and django.contrib.gis.db.Nick Pope
2019-10-01Fixed #30651 -- Made __eq__() methods return NotImplemented for not implement...ElizabethU
2019-08-19Fixed #29260 -- Skipped an UPDATE when adding a model instance with primary k...Hasan Ramezani
2019-05-12Fixed #6785 -- Made QuerySet.get() fetch a limited number of rows.Amir Hadi
2019-04-24Refs #30254 -- Added tests for Model.__hash__() inheritance.Carlton Gibson
2018-11-27Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette
2018-11-15Added a test for a lookup in Model.refresh_from_db(fields=[...]).Hasan Ramezani
2018-11-06Used QuerySet.bulk_create() in a couple tests.oliver
2018-09-18Fixed #23646 -- Added QuerySet.bulk_update() to efficiently update many models.Tom Forbes
2018-08-20Fixed #29625 -- Made Model.refresh_from_db() clear prefetch related caches.Ming Qin
2018-06-25Fixed #29517 -- Rephrased error message when passing incorrect kwarg to model...Federico Bond
2018-04-19Fixed #28574 -- Added QuerySet.explain().Tom
2018-01-30Fixed #29076 -- Made Model.refresh_from_db() clear cached relationships even ...Jon Dufresne
2017-10-12Fixed #27846 -- Made Model.refresh_from_db() clear cached relations.Paulo
2017-09-25Removed DatabaseFeatures.supports_microsecond_precision.Tim Graham
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-05-27Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
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-14Fixed #27718 -- Added QuerySet.union(), intersection(), difference().Florian Apolloner
2016-12-14Moved test_field_ordering to the model_fields package.Morgan Aubert