[Django]-How can django sql queries use case insensitive and contains at the same time?

75👍

Use:

User.objects.filter(username__icontains='ab')
👤lprsd

14👍

👤JamesO

Leave a comment