django.contrib.postgres 3.1 (NOT RELEASED)

New BloomIndex, RangeField, ArrayField

  • The new BloomIndex class allows creating bloom indexes in the database. The new BloomExtension migration operation installs the bloom extension to add support for this index.

  • get_FOO_display() now supports ArrayField and RangeField .

  • The new rangefield.lower_inc, rangefield.lower_inf, rangefield.upper_inc, and rangefield.upper_inf allows querying RangeField by a bound type.

  • rangefield.contained_by now supports SmallAutoField, AutoField, BigAutoField, SmallIntegerField, and DecimalField.

  • SearchQuery now supports ‘websearch’ search type on PostgreSQL 11+.