1'''Text based fields have a selection of matching operations.'''
2
3'''For e.g.'''
4>>> Author.objects.filter(name__contains='Terry')
5[<Author: Terry Gilliam>, <Author: Terry Jones>]
6
7'''
8This is not a proper solution sice this requires the user to know
9the exact substring of the name.
10Here the icontains operation can come in handy and it is a better approach
11since it is a case-insensitive match.
12'''