summaryrefslogtreecommitdiff
path: root/tests/basic
AgeCommit message (Expand)Author
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
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey...Flavio Curella
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette
2015-04-06Fixed #24584 -- Fixed microsecond handling with older MySQLdbJon Dufresne
2015-03-25Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen
2015-02-27Fixed #24418 -- Prevented crash in refresh_from_db with null fkClaude Paroz
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-30Reverted "Fixed #6785 -- Made QuerySet.get() fetch a limited number of rows."Tim Graham
2015-01-30Fixed #24211 -- Removed ValuesQuerySet() and ValuesListQuerySet().Loic Bistuer
2015-01-20Fixed typos in code comments.Adam Taylor
2015-01-06Fixed #12663 -- Formalized the Model._meta API for retrieving fields.Daniel Pyrathon
2014-12-23Fixed #21414 -- Removed RelatedObject and deprecated Field.related.Anssi Kääriäinen
2014-11-28Fixed #901 -- Added Model.refresh_from_db() methodAnssi Kääriäinen
2014-11-20Added a comment for test of refs #20278.Anssi Kääriäinen
2014-11-12Fixed #22967 -- Made Model._do_update consistentJozef Knaperek
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
2014-10-07Refactored model lookup tests; refs #18586.Browniebroke
2014-09-29Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.Thomas Chaumeny
2014-09-24Removed numbering from the models.py header of some test packages.Loic Bistuer
2014-07-02assertEquals -> assertEqualTim Graham
2014-06-25Split tests.basic.ModelTests in several tests; refs #18586.zsoldosp