summaryrefslogtreecommitdiff
path: root/tests/generic_relations/tests.py
AgeCommit message (Expand)Author
2020-11-06Refs #32045 -- Added tests for GenericRelatedObjectManager.clear()/remove().Craig Smith
2020-11-06Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly.Hasan Ramezani
2020-05-15Refs #31395 -- Relied on setUpTestData() test data isolation in various tests.Simon Charette
2020-01-22Fixed #31190 -- Fixed prefetch_related() crash for GenericForeignKey with cus...Eugene Hatsko
2019-05-31Fixed #30493 -- Fixed prefetch_related() for GenericRelation with different c...can
2018-08-17Fixed #29612 -- Added GenericRelation prefetch_related() cache invalidation.Tom Forbes
2017-12-28Moved generic_inlineformset_factory() tests to a separate file.Tim Graham
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-02-03Refs #27745 -- Improved test coverage of contrib.contenttypes.Anton Samarchyan
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-05-13Refs #18599 -- Added a test for assigning a GenericForeignKey in Model.__init...Bouke Haarsma
2016-05-03Refs #16508 -- Added invalidation of stale cached instances of GenericForeign...Michal Petrucha
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-02-11Fixed #26179 -- Removed null assignment check for non-nullable foreign key fi...ZachLiuGIS
2016-01-29Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as app...Hasan
2015-12-14Fixed #12885 -- Fixed queries with GenericRelations to multi-table inheritanc...Anssi Kääriäinen
2015-10-27Fixed #25550 -- Deprecated direct assignment to the reverse side of a related...Tim Graham
2015-10-08Refs #19722 -- Added a test for querying generic relations of a parent class.Tim Graham
2015-10-02Refs #13203, #9501 -- Added a test for generic relations to child models.Tim Graham
2015-09-21Renamed descriptor classes for related objects.Aymeric Augustin
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-08-10Fixed #25160 -- Moved unsaved model instance data loss check to Model.save()Tim Graham
2015-07-28Fixed #18556 -- Allowed RelatedManager.add() to execute 1 query where possible.Tim Graham
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-02-05Fixed #6707 -- Added RelatedManager.set() and made descriptors' __set__ use it.Loic Bistuer
2015-01-06Fixed #12663 -- Formalized the Model._meta API for retrieving fields.Daniel Pyrathon
2014-10-08Fixed flake8 warning.Tim Graham
2014-10-08Fixed #23611 -- update_or_create failing from a related managerLoic Bistuer
2014-07-14Fixed #22992 -- regression in .filter(generic_fk=...) error messageAnssi Kääriäinen
2014-06-01Split GenericRelationsTests.test_generic_relations into several tests; refs #...José L. Patiño
2014-03-30Fixed #19816 -- Pre-evaluate querysets used in direct relation assignments.Loic Bistuer
2014-03-05Fixed #22207 -- Added support for GenericRelation reverse lookupsGabe Jackson
2014-01-26Fixed #19774 -- Deprecated the contenttypes.generic module.Simon Charette
2013-11-02PEP8 cleanupJason Myers
2013-10-21Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol
2013-10-19Removed unused local variables in tests.Tim Graham
2013-10-18Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol
2013-10-18Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol
2013-10-16Fixed #7551 -- Made GFK allow None init argument.Bouke Haarsma
2013-09-07Fixed #16869 -- BaseGenericInlineFormSet.save_new should use form's save() me...Pablo Mouzo
2013-08-21Fixed a regression with get_or_create and virtual fields.Tim Graham
2013-07-29Removed most of absolute_import importsClaude Paroz
2013-06-05Fixed #17927 -- Added initial values support for BaseGenericInlineFormSetBojan Mihelac
2013-05-23Fixed #17648 -- Add `for_concrete_model` to `GenericForeignKey`.Gavin Wahl
2013-05-21Use assertIsInstance in tests.Marc Tamlyn
2013-05-11Fixed #19939 -- generic relations + split_exclude regressionAnssi Kääriäinen
2013-05-09Fixed #19733 - deprecated ModelForms without 'fields' or 'exclude', and added...Luke Plant