Expected May 1, 2023
Django 4.2.1 fixes several bugs in 4.2.
QuerySet.defer()
when deferring fields by attribute names (#34458).SearchVector function with %
characters (#34459)."cursor_factory" option in OPTIONS on PostgreSQL
(#34466).i18n_patterns() didn’t respect the
prefix_default_language argument when a fallback language of the default
language was used (#34455).HttpRequest, HttpResponse, and their subclasses didn’t always work
correctly (#34482, #34484).timesince and timeuntil
template filters returned incorrect results for a datetime with a non-UTC
timezone when a time difference is less than 1 day (#34483).SearchHeadline function with
psycopg 3 (#34486).ClearableFileInput
margins in the admin (#34506).Apr 22, 2023