summaryrefslogtreecommitdiff
path: root/tests/basic
Commit message (Expand)AuthorAgeFilesLines
* Fixed #30651 -- Made __eq__() methods return NotImplemented for not implement...ElizabethU2019-10-011-0/+2
* Fixed #29260 -- Skipped an UPDATE when adding a model instance with primary k...Hasan Ramezani2019-08-192-1/+15
* Fixed #6785 -- Made QuerySet.get() fetch a limited number of rows.Amir Hadi2019-05-121-1/+21
* Refs #30254 -- Added tests for Model.__hash__() inheritance.Carlton Gibson2019-04-241-1/+18
* Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette2018-11-271-3/+4
* Added a test for a lookup in Model.refresh_from_db(fields=[...]).Hasan Ramezani2018-11-151-0/+6
* Used QuerySet.bulk_create() in a couple tests.oliver2018-11-061-26/+10
* Fixed #23646 -- Added QuerySet.bulk_update() to efficiently update many models.Tom Forbes2018-09-181-0/+1
* Fixed #29625 -- Made Model.refresh_from_db() clear prefetch related caches.Ming Qin2018-08-201-0/+24
* Fixed #29517 -- Rephrased error message when passing incorrect kwarg to model...Federico Bond2018-06-251-1/+1
* Fixed #28574 -- Added QuerySet.explain().Tom2018-04-191-0/+1
* Fixed #29076 -- Made Model.refresh_from_db() clear cached relationships even ...Jon Dufresne2018-01-301-0/+12
* Fixed #27846 -- Made Model.refresh_from_db() clear cached relations.Paulo2017-10-122-1/+16
* Removed DatabaseFeatures.supports_microsecond_precision.Tim Graham2017-09-251-39/+5
* Used assertRaisesMessage() to test Django's error messages.Mads Jensen2017-07-291-7/+13
* Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne2017-05-271-1/+1
* Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz2017-02-071-4/+4
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-1/+1
* Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz2017-01-181-3/+0
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-182-3/+0
* Fixed #27718 -- Added QuerySet.union(), intersection(), difference().Florian Apolloner2017-01-141-0/+3
* Moved test_field_ordering to the model_fields package.Morgan Aubert2016-12-141-17/+0
* Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za2016-11-101-4/+3
* Fixed #26787 -- Documented deleting and reloading of model instance fields.Tim Graham2016-06-211-0/+13
* Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne2016-06-161-2/+2
* Fixed #26620 -- Made Model.refresh_from_db() fail when passed unknown kwargs.Marti Raudsepp2016-05-181-0/+5
* Fixed #10506, #13793, #14891, #25201 -- Introduced new APIs to specify models...Loïc Bistuer2016-05-171-6/+3
* Fixed E128 flake8 warnings in tests/.Tim Graham2016-04-081-20/+19
* Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as app...Hasan2016-01-291-55/+20
* Refs #26022 -- Used context manager version of assertRaises in tests.Hasan2016-01-291-6/+2
* Fixed #26026 -- Fixed isinstance crash comparing EmptyQuerySet to non-QuerySet.Anderson Resende2016-01-071-0/+1
* Fixed #25715 -- Fixed Model.refresh_from_db() with ForeignKey w/on_delete=SET...Tim Graham2015-11-212-0/+12
* Refs #21414 -- Removed Field.related per deprecation timeline.Tim Graham2015-09-231-15/+0
* Tweak some examples.Aymeric Augustin2015-08-221-13/+13
* Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey...Flavio Curella2015-07-271-2/+6
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-3/+4
* Fixed #24584 -- Fixed microsecond handling with older MySQLdbJon Dufresne2015-04-061-4/+19
* Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen2015-03-251-1/+1
* Fixed #24418 -- Prevented crash in refresh_from_db with null fkClaude Paroz2015-02-271-0/+7
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-7/+8
* Reverted "Fixed #6785 -- Made QuerySet.get() fetch a limited number of rows."Tim Graham2015-01-301-25/+1
* Fixed #24211 -- Removed ValuesQuerySet() and ValuesListQuerySet().Loic Bistuer2015-01-301-2/+1
* Fixed typos in code comments.Adam Taylor2015-01-201-1/+1
* Fixed #12663 -- Formalized the Model._meta API for retrieving fields.Daniel Pyrathon2015-01-061-1/+1
* Fixed #21414 -- Removed RelatedObject and deprecated Field.related.Anssi Kääriäinen2014-12-231-0/+15
* Fixed #901 -- Added Model.refresh_from_db() methodAnssi Kääriäinen2014-11-281-1/+58
* Added a comment for test of refs #20278.Anssi Kääriäinen2014-11-201-0/+2
* Fixed #22967 -- Made Model._do_update consistentJozef Knaperek2014-11-121-1/+1
* Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag2014-11-031-11/+9
* Refactored model lookup tests; refs #18586.Browniebroke2014-10-071-144/+134