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
Full Stack FoundationsUdacity Django Basics Course
Treehouse Создание Web-сервисов на Python
Moscow Institute of Physics and Technology via Coursera Using JavaScript, JQuery, and JSON in Django
University of Michigan via Coursera Django Features and Libraries
University of Michigan via Coursera