Django – How to Make Queries and Retrieve Objects – Part 2

django related_name

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.

Here I have used

Read More Django – How to Make Queries and Retrieve Objects – Part 2

Django – How to Make Queries and Retrieve Objects – Part 1

django related_name

Django provides you with a database abstraction layer (or an API) that lets you perform CRUD operations without writing a single line of SQL. In this post I will talk about how we can retrieve objects using this API. We

Read More Django – How to Make Queries and Retrieve Objects – Part 1