Django 3.0.3 release notes
Bugfixes
- Fixed a regression in Django 3.0 where and
values_list()
crashed if a queryset contained an aggregation andExists()
annotation (). - Relaxed the system check added in Django 3.0 to reallow use of a sublanguage in the
LANGUAGE_CODE
setting, when a base language is available in Django but the sublanguage is not (). - Fixed a system check to ensure the
max_length
attribute fits the longest choice, when a named group contains only non-string values (#31155). - Fixed a regression in Django 2.2 that caused a crash of and
StringAgg
withfilter
argument when used in aSubquery
(). - Fixed a regression in Django 3.0 that caused a crash of
QuerySet.prefetch_related()
forGenericForeignKey
with a customContentType
foreign key (#31190).