I am trying to filter out an object based on its first letter with:
topics = SpecialtyCategory.objects.filter(name__startswith=request.GET.get('filter'))
The problem is that the name can be βexampleβ or βexampleβ, and I want to get the whole special category regardless of the case.
How to do it?
django
silent1mezzo
source share