| Age | Commit message (Collapse) | Author |
|
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
|
|
This finsishes the work started on #16803.
Thanks Simon Charette, Tim Graham and Collin Anderson for the
reviews.
|
|
This is a reliqua from the early days of the modeltests/regressiontests era.
|
|
GenericRelation now supports an optional related_query_name argument.
Setting related_query_name adds a relation from the related object back to
the content type for filtering, ordering and other query operations.
Thanks to Loic Bistuer for spotting a couple of important issues in
his review.
|
|
It contained models, forms and admin objects causing undesirable
import side effects. Refs #16368.
Thanks to Ramiro, Carl and Loïc for the review.
|
|
Thanks SamBull for the report.
|
|
|
|
not have a default value
Thanks to Collin Anderson for the suggestion and Tim Graham for
reviewing the patch.
|
|
Allows a `GenericForeignKey` to reference proxy models. The default
for `for_concrete_model` is `True` to keep backwards compatibility.
Also added the analog `for_concrete_model` kwarg to
`generic_inlineformset_factory` to provide an API at the form level.
|
|
Added a test, the issue was already fixed (likely by the patch
for #19385).
|
|
return a QuerySet.
|
|
|