This plan includes
- Limitedfree coursesaccess
- Play & PauseCourse Videos
- VideoRecorded Lectures
- Learn onMobile/PC/Tablet
- Quizzes andReal Projects
- Lifetime CourseCertificate
- Email & ChatSupport
What you'll learn?
- Creating Virtual Environment in Python and Setting Up Django Project in that virtual environment.
- Writing Models in Django
- Performing CRUD Operation via Django ORM
- Learning about different queryset API provided by Django ORM like order_by, values, only, defer, select related, prefetch related
- Getting Familiar with Q objects and F expressions
Course Overview
In this course, you are going to learn various concepts related to Django ORM. Django ORM is a core and powerful component of the Django Framework. Using this ORM, we can simplify the database-related operations in an object-oriented way. In this course, you are going to learn how to model for a Blogging project. The agenda is not to make a blogging site, but to teach you about what can you do with the Django ORM and what Django ORM has to offer, to make your project performant. Then, we will deep dive into querying the database which is the most important section of this course. Without knowing how to query the database, you are never going to feel confident as a Django developer. So, you will be taught different things about queryset API provided by Django ORM in order to interact with the databases. You are going to learn various methods which are used in CRUD operations. Like order_by, values, only, defer, select_related, prefetch_related, Q objects, F expressions, raw SQL query, and many more.
At the end of this course, you will get familiar with the following topics, and you can apply this learning in any Django project.
-
Virtual Environments
-
Creating and Setting up Django Project in a virtual environment
-
Writing Models
-
Migrations
-
Django Admin Panel
-
Database Relationships
-
Primary Key, Verbose Name
-
Model Methods
-
Meta Options
-
Database CRUD Operation
-
Using order_by, values, only, defer methods
-
Performing union, intersection, and difference using Django ORM
-
Performing field Lookups
-
Querying Database Relationships
-
About Q objects, F expression
-
Select Related and Prefetch Related
-
Performing raw SQL query
and many more
Pre-requisites
- Basics of Python
- Object Oriented Programming Using Python
- Database Management System [Optional]
Target Audience
- Beginner Python developer curious about web development using Django
- Any developer who wants to understand how to setup Django in virtual environment.
- Any django developer who wants to understand how to write models in Django.
- Any django developer who want to understand how to query the database.
- Any django developer who wants to understand Django ORM
Curriculum 26 Lectures 02:52:31
Section 1 : Installation and Setup
- Lecture 2 :
- DB Browser for SQlite
- Lecture 3 :
- Introduction to Virtual Environment
- Lecture 4 :
- Django Project and App Setup
- Lecture 5 :
- Source Code
Section 2 : Introduction to Models
- Lecture 1 :
- Introduction to Models
- Lecture 2 :
- Introduction to Migration
- Lecture 3 :
- Django Admin Panel
- Lecture 4 :
- Different Model Field Types
- Lecture 5 :
- Different Model Field Options
- Lecture 6 :
- Database Relationships in Django
- Lecture 7 :
- Primary Key and Verbose Field Name
- Lecture 8 :
- Model Methods
- Lecture 9 :
- Meta Options
- Lecture 10 :
- Challenge: Writing Models for Comments App
Section 3 : Querying the Database
- Lecture 1 :
- Database CRUD Operation Part - 1
- Lecture 2 :
- Database CRUD Operation Part - 2
- Lecture 3 :
- order_by, values, only, defer
- Lecture 4 :
- union, intersection, difference
- Lecture 5 :
- Performing Field Lookups
- Lecture 6 :
- Querying Database Relationships
- Lecture 7 :
- Complex Lookups Using Q Objects
- Lecture 8 :
- F expressions
- Lecture 9 :
- select related and prefetch related
- Lecture 10 :
- Performing Raw SQL Queries
Section 4 : Further Study Material
- Lecture 1 :
- Django Documentation
Our learners work at
Frequently Asked Questions
How do i access the course after purchase?
It's simple. When you sign up, you'll immediately have unlimited viewing of thousands of expert courses, paths to guide your learning, tools to measure your skills and hands-on resources like exercise files. There’s no limit on what you can learn and you can cancel at any time.Are these video based online self-learning courses?
Yes. All of the courses comes with online video based lectures created by certified instructors. Instructors have crafted these courses with a blend of high quality interactive videos, lectures, quizzes & real world projects to give you an indepth knowledge about the topic.Can i play & pause the course as per my convenience?
Yes absolutely & thats one of the advantage of self-paced courses. You can anytime pause or resume the course & come back & forth from one lecture to another lecture, play the videos mulitple times & so on.How do i contact the instructor for any doubts or questions?
Most of these courses have general questions & answers already covered within the course lectures. However, if you need any further help from the instructor, you can use the inbuilt Chat with Instructor option to send a message to an instructor & they will reply you within 24 hours. You can ask as many questions as you want.Do i need a pc to access the course or can i do it on mobile & tablet as well?
Brilliant question? Isn't it? You can access the courses on any device like PC, Mobile, Tablet & even on a smart tv. For mobile & a tablet you can download the Learnfly android or an iOS app. If mobile app is not available in your country, you can access the course directly by visting our website, its fully mobile friendly.Do i get any certificate for the courses?
Yes. Once you complete any course on our platform along with provided assessments by the instructor, you will be eligble to get certificate of course completion.For how long can i access my course on the platform?
You require an active subscription to access courses on our platform. If your subscription is active, you can access any course on our platform with no restrictions.Is there any free trial?
Currently, we do not offer any free trial.Can i cancel anytime?
Yes, you can cancel your subscription at any time. Your subscription will auto-renew until you cancel, but why would you want to?
Instructor
981 Course Views
1 Courses