Card.objects.filter(name__icontains=query)

i

means the operator performs a case-insenstive lookup.

(so hello would match both hello and Hello)

© 2011 Web Oom Suffusion theme by Sayontan Sinha
Switch to our mobile site
Top Footer