Query Django models across relationships
Offered By: Coursera Project Network via Coursera
Course Description
Overview
In this 1-hour long project-based course, you will learn how to perform deep filter operations over 1, 2 and 3 relationships. You will learn how to use the “in” field lookup to create a filter inside a filter. You will discover the difference between using a comma in a filter call and nesting filters via an example, and will see the difference between the implementation of the “comma” in the filter and the exclude methods.
Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.
Syllabus
- Project Overview
- Querying over relationships in Django can be challenging if one does not know the fine details of how the filter and exclude methods operate over relationships. This project will bridge the knowledge gap. You will perform deep filter operations over 1, 2 and 3 relationships. You will learn how to use the “in” field lookup to create a filter inside a filter. You will discover the difference between using a comma in a filter call and nesting filters via an example, and will see the difference between the implementation of the “comma” in the filter and the exclude methods.
Taught by
Sherif A. Tawfik Abbas
Related Courses
Software as a ServiceUniversity of California, Berkeley via Coursera Intro to Computer Science
University of Virginia via Udacity Web Development
Udacity Software Engineering for SaaS
University of California, Berkeley via Coursera CS50's Introduction to Computer Science
Harvard University via edX