Field Lookups Field Lookups are where you actually specify the “where” clause of your SQL query.
Here I have used the __lte lookup to find the books that were published in and before 2010.
Book.objects.get(title__exact='guide to the galaxy')
Here I have used __exact lookup to find the book whose title is “guide to the galaxy”. If you don’t […]