Commit History

Author SHA1 Message Date
  Jon Janzen 321ecb40f4 Fixed #34135 -- Added async-compatible interface to related managers. 2 years ago
  Jon Janzen 7b94847e38 Fixed #34139 -- Fixed acreate(), aget_or_create(), and aupdate_or_create() methods for related managers. 2 years ago
  Gregor Gärtner f0c06f8ab7 Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2 years ago
  sarahboyce cd4da34fc1 Fixed #33004 -- Made saving objects with unsaved GenericForeignKey raise ValueError. 2 years ago
  Mariusz Felisiak 7119f40c98 Refs #33476 -- Refactored code to strictly match 88 characters line length. 3 years ago
  django-bot 9c19aff7c7 Refs #33476 -- Reformatted code with Black. 3 years ago
  Craig Smith 6fa3d02f7f Refs #32045 -- Added tests for GenericRelatedObjectManager.clear()/remove(). 4 years ago
  Hasan Ramezani 3f7b327562 Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly. 4 years ago
  Simon Charette 94f63b926f Refs #31395 -- Relied on setUpTestData() test data isolation in various tests. 6 years ago
  Eugene Hatsko 0b013564ef Fixed #31190 -- Fixed prefetch_related() crash for GenericForeignKey with custom ContentType foreign key. 5 years ago
  can dffa3e1992 Fixed #30493 -- Fixed prefetch_related() for GenericRelation with different content types. 5 years ago
  Tom Forbes c02d473781 Fixed #29612 -- Added GenericRelation prefetch_related() cache invalidation. 6 years ago
  Tim Graham 46d1af2e82 Moved generic_inlineformset_factory() tests to a separate file. 7 years ago
  Mads Jensen a51c4de194 Used assertRaisesMessage() to test Django's error messages. 7 years ago
  Anton Samarchyan 4d6584000a Refs #27745 -- Improved test coverage of contrib.contenttypes. 8 years ago
  chillaranand d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). 8 years ago
  Claude Paroz d7b9aaa366 Refs #23919 -- Removed encoding preambles and future imports 8 years ago
  za 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
  Bouke Haarsma 31501fb53e Refs #18599 -- Added a test for assigning a GenericForeignKey in Model.__init__(). 9 years ago
  Michal Petrucha b9f8635f58 Refs #16508 -- Added invalidation of stale cached instances of GenericForeignKey targets. 9 years ago
  Tim Graham 92053acbb9 Fixed E128 flake8 warnings in tests/. 9 years ago
  ZachLiuGIS 04e13c8913 Fixed #26179 -- Removed null assignment check for non-nullable foreign key fields. 9 years ago
  Hasan 26ad01719d Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as appropriate. 9 years ago
  Anssi Kääriäinen cd0ba8053d Fixed #12885 -- Fixed queries with GenericRelations to multi-table inheritance child models. 9 years ago
  Tim Graham 9c5e272860 Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 9 years ago
  Tim Graham 4a7b58210d Refs #19722 -- Added a test for querying generic relations of a parent class. 9 years ago
  Tim Graham 58c7ff39fb Refs #13203, #9501 -- Added a test for generic relations to child models. 9 years ago
  Aymeric Augustin e542e81b39 Renamed descriptor classes for related objects. 9 years ago
  Dražen Odobašić b1e33ceced Fixed #23395 -- Limited line lengths to 119 characters. 9 years ago
  Tim Graham 5980b05c1f Fixed #25160 -- Moved unsaved model instance data loss check to Model.save() 9 years ago