| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-04-18 | Fixed #16055 -- Fixed crash when filtering against char/text GenericRelation ↵ | David Wobrock | |
| relation on PostgreSQL. | |||
| 2022-04-21 | Fixed #33004 -- Made saving objects with unsaved GenericForeignKey raise ↵ | sarahboyce | |
| ValueError. This aligns to the behaviour of OneToOneField and ForeignKey fields. Thanks Jonny Park for the initial patch. | |||
| 2022-04-21 | Refs #13085 -- Removed unnecessary ManyToManyFields from ↵ | Mariusz Felisiak | |
| generic_relations_regress test models. | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2020-11-04 | Fixed GenericRelationTests.test_annotate when primary key values are large. | Tim Graham | |
| On CockroachDB, primary key values stored in this fields are larger than they accept. | |||
| 2020-04-30 | Removed unused __str__() methods in tests models. | Mariusz Felisiak | |
| Follow up to 6461583b6cc257d25880ef9a9fd7e2125ac53ce1. | |||
| 2020-02-04 | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | |
| 2018-08-10 | Fixed #29653 -- Fixed missing related_query_name reverse accessor if ↵ | Ramiro Morales | |
| GenericRelation is declared on an abstract base model. Regression in 4ab027b94409e6415b774797bf9d3593da9d9ea8. Thanks Lauri Kainulainen for the report. | |||
| 2018-03-20 | Fixed #29227 -- Allowed BooleanField to be null=True. | Tim Graham | |
| Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review. | |||
| 2018-03-12 | Fixed #28988 -- Fixed queries when a GenericRelation is used with ↵ | robwa | |
| multi-table inheritance. | |||
| 2017-12-08 | Refs #28856 -- Added test for caching of a GenericForeignKey pointing to a ↵ | Morgan Wahl | |
| model that uses more than one level of MTI. Forwardport of test and release notes of 35222035029863f95769e2e59beeeb953d125689 from stable/1.11.x | |||
| 2017-07-21 | Fixed #28418 -- Fixed queryset crash when using a GenericRelation to a proxy ↵ | Rachel Tobin | |
| model. | |||
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-19 | Refs #23919 -- Removed __nonzero__() methods (for Python 2). | Simon Charette | |
| Thanks Tim for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | |
| 2016-11-14 | Fixed E305 flake8 warnings. | Ramin Farajpour Cami | |
| 2015-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2014-07-16 | Fixed #22998 -- Updated the fast_delete logic for GFKs | Gavin Wahl | |
| 2014-01-26 | Fixed #19774 -- Deprecated the contenttypes.generic module. | Simon Charette | |
| It contained models, forms and admin objects causing undesirable import side effects. Refs #16368. Thanks to Ramiro, Carl and Loïc for the review. | |||
| 2013-11-16 | Fixed #21428 -- editable GenericRelation regression | Anssi Kääriäinen | |
| The GenericRelation refactoring removed GenericRelations from model._meta.many_to_many. This had the side effect of disallowing editable GenericRelations in ModelForms. Editable GenericRelations aren't officially supported, but if we don't fix this we don't offer any upgrade path for those who used the ability to set editable=True in GenericRelation subclass. Thanks to Trac alias joshcartme for the report and stephencmd and Loic for working on this issue. | |||
| 2013-11-02 | PEP8 cleanup | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-06-06 | Fixed #20564 -- Generic relations exclude() regression | Anssi Kääriäinen | |
| The patch for #19385 caused a regression in certain generic relations .exclude() filters if a subquery was needed. The fix contains a refactoring to how Query.split_exclude() and Query.trim_start() interact. Thanks to Trac alias nferrari for the report. | |||
| 2013-05-20 | Fixed #20378 -- regression in GenericRelation on abstract model | Anssi Kääriäinen | |
| When a GenericRelation was defined on abstract model, queries on childs of the abstract model didn't work. The problem was in the way fields and in particular field.rel was copied from models to their children. The regression was likely caused by #19385. Thanks to Gavin Wahl for spotting the regression. | |||
| 2013-02-26 | Merged regressiontests and modeltests into the test root. | Florian Apolloner | |
