Django ORM's "unaccent" database lookup for Postgres
Besides case-independent database lookups using __iexact
, Django's ORM can do accent-independent lookups too, using __unaccent
. However, this only works well for relatively small datasets and is limited to PostgreSQL functionality.