django-translations icon indicating copy to clipboard operation
django-translations copied to clipboard

Unsupported lookup 'unaccent'

Open xupisco opened this issue 4 years ago • 0 comments

Can't use postgres unaccent extension on TranslatableQueryset

Unsupported lookup 'unaccent'
/translations/utils.py in _fill_dissected, line 78

My filter: (where qs in a TranslatableQueryset) qs = qs.filter(Q(name__unaccent__icontains=params.get('q')))

Help?!

xupisco avatar May 26 '20 15:05 xupisco