Answer the question
In order to leave comments, you need to log in
Why is my Q search not working?
#views.py
...
search_request = request.GET["q"]
result = Game.objects.filter(title__icontains=search_request)
...
Answer the question
In order to leave comments, you need to log in
The SQLite database cannot do ILIKE with Cyrillic.
result is not an array.
You don't use Q.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question