Django 2.2.1 release notes
Django 2.2.1 fixes several bugs in 2.2.
- Fixed a regression in Django 2.1 that caused the incorrect quoting of database user password when using dbshell on Oracle ().
- Added compatibility for 2.8 (#30331).
- Fixed a regression in Django 2.2 that caused a crash when loading the template for the technical 500 debug page ().
- Fixed crash of
ordering
argument in ArrayAgg and when it contains an expression with params (#30332). - Prevented from generating infinite migrations for check constraints and partial indexes when
condition
contains a range object (). - Reverted an optimization in Django 2.2 (#29725) that caused the inconsistent behavior of
count()
andexists()
on a reverse many-to-many relationship with a custom manager (). - Fixed a regression in Django 2.2 where Paginator crashes if is a queryset ordered or aggregated over a nested
JSONField
key transform (). - Fixed a regression in Django 2.2 where
IntegerField
validation of database limits crashes iflimit_value
attribute in a custom validator is callable (#30328). - Fixed a regression in Django 2.2 where generates SQL that is not indexable (#30385).
- Relaxed the system check added in Django 2.2 for the admin app’s dependencies to reallow use of subclasses, rather than requiring django.contrib.sessions to be in (#30312).
- Increased the default timeout when using
Watchman
to 5 seconds to prevent falling back toStatReloader
on larger projects and made it customizable via the environment variable (#30361). - 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 ().
- Fixed a regression in Django 2.2 that caused a crash of runserver when URLConf modules raised exceptions ().
- Fixed a regression in Django 2.2 where changes were not reliably detected by auto-reloader when using (#30323).
- Fixed a migration crash on Oracle and SQLite when adding a check constraint with
condition
contains|
() operator ().