djangodocs.org

1305 sections across all versions Narrow to Django 6.0 (current) →

Forms

Release notes Django 3.1 release notes What’s new in Django 3.1Minor features

django.forms.DateTimeField now accepts dates in a subset of ISO 8601 datetime formats, including optional timezone, e.g. 2019-10-10T06:47, 2019-10-10T06:47:23+04:00, or 2019-10-10T06:47:23Z. The timezone will always be retained if provided, with timezone-aware datetimes being returned even when USE_TZ is False.

4.2 5.0 5.1 5.2 6.0

Bugfixes

Release notes Django 3.1.3 release notes

Fixed displaying Unicode characters in forms.JSONField and read-only models.JSONField values in the admin (#32080). Fixed a regression in Django 3.1 that caused a crash of ArrayAgg and StringAgg with ordering on key transforms for JSONField (#32096).

4.2 5.0 5.1 5.2 6.0

Miscellaneous

Release notes Django 3.2 release notes Features deprecated in 3.2

makemessages command no longer processes invalid locales specified using makemessages --locale option, when they contain hyphens ('-'). The django.contrib.auth.forms.ReadOnlyPasswordHashField form field is now disabled by default. Therefore UserChangeForm.clean_password() is no longer required to return the initial value.

4.2 5.0 5.1 5.2 6.0

Miscellaneous

Release notes Django 4.0 release notes Features deprecated in 4.0

Use ModelAdmin and GISModelAdmin instead. Since form rendering now uses the template engine, the undocumented BaseForm._html_output() helper method is deprecated. The ability to return a str from ErrorList and ErrorDict is deprecated. It is expected these methods return a SafeString.

4.2 5.0 5.1 5.2 6.0