…lineModelAdmin. Thanks to jwa for the report.
Also fixed #22124 -- Expanded explanation of exactly what is going on in as_sql() methods.
…e title case Thanks bendavis78 for the report.
This reverts commit 1562b98.
…erialization step. Thanks @apollo13 for the suggestion. Refs #17413.
Also took the opportunity to slightly refactor gettext options so as to ease customization by subclassing the command. Thanks Michal Čihař for the report and initial patch.
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.
Thanks to Loic Bistuer for review. Minor changes to error messages done by committer.
Fixed URL resolving in the case where an outer regex includes an inner regex and both regexes use positional parameters instead of named groups, causing the outer regex's parameters to override the inner regex's. Modified the regex url resolver so that it will concatenates and then normalizes, instead of normalizing and then concatenating.
…rom abstract models.
…default. This feature allows the default `TIMEOUT` Cache argument to be set to `None`, so that cache instances can set a non-expiring key as the default, instead of using the default value of 5 minutes. Previously, this was possible only by passing `None` as an argument to the set() method of objects of type `BaseCache` (and subtypes).
The original patch for custom prefetches didn't allow usage of custom queryset for single valued relations (along ForeignKey or OneToOneKey). Allowing these enables calling performance oriented queryset methods like select_related or defer/only. Thanks @akaariai and @timgraham for the reviews. Refs #17001.
Thanks django-issues at colons.co for the suggestion.
…es(). Thanks matt at schinckel.net for the suggestion.