Commit History

Author SHA1 Message Date
  Aman Pandey 0fcd72bc48 Fixed #34633 -- Made create() method of reverse many-to-one managers clear prefetch_related() cache. 1 year ago
  Clément Escolano cac94dd8aa Fixed #33651 -- Added support for prefetching GenericForeignKey. 1 year ago
  Gregor Gärtner f0c06f8ab7 Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2 years ago
  David Wobrock 806e9e2d0d Fixed #33952 -- Reallowed creating reverse foreign key managers on unsaved instances. 2 years ago
  Allen Jonathan David 1058fc7023 Fixed #33191 -- Avoided clearing cached reference when saving child after parent. 2 years ago
  Albert Defler 7ba6ebe914 Fixed #19580 -- Unified behavior of reverse foreign key and many-to-many relations for unsaved instances. 3 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
  Hasan Ramezani 7cba92ec55 Fixed #32332 -- Fixed loss of parent with non-numeric pk when saving child after parent. 4 years ago
  Nick Pope 477c800443 Changed docs and a code comment to use gender-neutral pronouns. 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
  Carlton Gibson a34cb5a6d4 Refs #31282 -- Clarified M2O add/remove/set with PK behaviour. 5 years ago
  Nick Pope 335c9c94ac Simplified imports from django.db and django.contrib.gis.db. 5 years ago
  Nick Pope 194d1dfc18 Fixed #30661 -- Added models.SmallAutoField. 5 years ago
  Jon Dufresne 4122d9d3f1 Refs #28147 -- Fixed setting of OneToOne and Foreign Key fields to None when using attnames. 5 years ago
  Jon Dufresne 619c9a4f49 Added tests for using attnames to assign OneToOne and Foreign Key fields. 5 years ago
  Rob 519016e5f2 Fixed #28147 -- Fixed loss of assigned parent when saving child after parent. 5 years ago
  Rob 266e7e0ecc Refs #28147 -- Added test for saving nullable ForeignKey with to_field attribute after saving parent. 5 years ago
  Simon Charette 75dfa92a05 Fixed #29908 -- Fixed setting of foreign key after related set access if ForeignKey uses to_field. 6 years ago
  Tim Graham f77fc56c96 Fixed #29896 -- Fixed incorrect Model.save() cache relation clearing for foreign keys that use to_field. 6 years ago
  Paulo ee49306176 Fixed #27710 -- Made Model.save() invalidate cached, stale relations after a primary key assignment. 7 years ago
  Дилян Палаузов 6c0042430e Fixed #28776 -- Fixed a/an/and typos in docs and comments. 7 years ago
  Paulo bfb746f983 Refs #16043 -- Refactored internal fields value cache. 8 years ago
  Mads Jensen a51c4de194 Used assertRaisesMessage() to test Django's error messages. 7 years ago
  Collin Anderson a19b373d89 Changed assertQuerysetEqual()s that use default Model.__str__() to assertSequenceEqual(). 8 years ago
  Claude Paroz c651331b34 Converted usage of ugettext* functions to their gettext* aliases 8 years ago
  Vytis Banaitis d1bab24e01 Refs #23919, #27778 -- Removed obsolete mentions of unicode. 8 years ago
  Tim Graham 631f4ab061 Removed Manager.use_for_related_fields and Meta.manager_inheritance_from_future. 8 years ago
  Tim Graham ed251246cc Refs #25550 -- Removed support for direct assignment to the reverse side of a related set. 8 years ago