Step 1 : Add extension unaccent for Postgres by run query > create extension unaccent

Step 2 : Python/INSTALLED_APPS add > 'django.contrib.postgres'

Step 3 : Using unaccent in filter ,

Warning 1: unaccent lookups should perform fine in most use cases. However, queries using this filter will generally perform full table scans, which can be slow on large tables. In those cases, using dedicated full text indexing tools might be appropriate.



Top comments (0)