summaryrefslogtreecommitdiff
path: root/tests/basic
AgeCommit message (Expand)Author
2023-02-01[4.2.x] Refs #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
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-06-21Fixed #26787 -- Documented deleting and reloading of model instance fields.Tim Graham
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-05-18Fixed #26620 -- Made Model.refresh_from_db() fail when passed unknown kwargs.Marti Raudsepp
2016-05-17Fixed #10506, #13793, #14891, #25201 -- Introduced new APIs to specify models...Loïc Bistuer
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-01-29Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as app...Hasan
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2016-01-07Fixed #26026 -- Fixed isinstance crash comparing EmptyQuerySet to non-QuerySet.Anderson Resende
2015-11-21Fixed #25715 -- Fixed Model.refresh_from_db() with ForeignKey w/on_delete=SET...Tim Graham
2015-09-23Refs #21414 -- Removed Field.related per deprecation timeline.Tim Graham
2015-08-22Tweak some examples.Aymeric Augustin