May 1, 2019
Django 2.2.1 fixes several bugs in 2.2.
Added compatibility for
psycopg2 2.8 (#30331).
Fixed a regression in Django 2.2 that caused a crash when loading the template for the technical 500 debug page (#30324).
Fixed a regression in Django 2.2 that caused a single instance fast-delete
to not set the primary key to
Fixed a regression in Django 2.2 where
IntegerField validation of
database limits crashes if
limit_value attribute in a custom validator is
Fixed a regression in Django 2.2 that caused an exception to be raised when a custom error handler could not be imported (#30318).
Relaxed the system check added in Django 2.2 for the admin app’s dependencies
to reallow use of
rather than requiring
django.contrib.sessions to be in
Increased the default timeout when using
Watchman to 5 seconds to prevent
falling back to
StatReloader on larger projects and made it customizable
DJANGO_WATCHMAN_TIMEOUT environment variable
Fixed a regression in Django 2.2 that caused a crash when migrating permissions for proxy models if the target permissions already existed. For example, when a permission had been created manually or a model had been migrated from concrete to proxy (#30351).
Fixed a regression in Django 2.2 where changes were not reliably detected by
auto-reloader when using
Fixed a migration crash on Oracle and PostgreSQL when adding a check
constraint with a
endswith lookup (or
their case-insensitive variant) (#30408).
Fixed a migration crash on Oracle and SQLite when adding a check constraint
OR) operator (#30412).