SearchFilter gives error in Full-text search using ('@') even when using Django and PostgreSQL #8205
-
Issue :SearchFilter gives error in Full-text search using ('@'). Documentation :
Error:FieldError("Unsupported lookup 'search' for CharField or join on the field not permitted.") Using (Django 3.2.4) and (PostgreSQL - 13.1) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
There's not enough information here for anyone to be able to help you. |
Beta Was this translation helpful? Give feedback.
-
It will only work if django.contrib.postgres is added in the INSTALLED_APPS. https://docs.djangoproject.com/en/3.2/ref/contrib/postgres/search/#the-search-lookup
|
Beta Was this translation helpful? Give feedback.
-
On django admin site is it possible to use a
I expected the It would be a good thing if |
Beta Was this translation helpful? Give feedback.
It will only work if django.contrib.postgres is added in the INSTALLED_APPS.
https://docs.djangoproject.com/en/3.2/ref/contrib/postgres/search/#the-search-lookup