Lessons:14Length:4.3 hours
2.2 Using the ORM
In the last lesson, we created the Story model. In this lesson, we learn how to use it. By the end of this lesson, you’ll know how to use Django’s ORM to perform all of the typical CRUD operations on your database.
1.Getting Started3 lessons, 32:49
3 lessons, 32:49
Free Lesson 1.1Introduction05:25
Free Lesson
1.1
Introduction
05:25
Free Lesson 1.2Setting Up the Development Environment15:01
Free Lesson
1.2
Setting Up the Development Environment
15:01
1.3Hello Django12:23
1.3
Hello Django
12:23
2.Creating the Database Backend2 lessons, 38:15
2 lessons, 38:15
2.1Your First Model20:56
2.1
Your First Model
20:56
2.2Using the ORM17:19
2.2
Using the ORM
17:19
3.The Admin App1 lesson, 29:05
1 lesson, 29:05
3.1The Admin App29:05
3.1
The Admin App
29:05
4.The Main Page3 lessons, 1:18:17
3 lessons, 1:18:17
4.1Your First View22:29
4.1
Your First View
22:29
4.2Adding a Template28:04
4.2
Adding a Template
28:04
4.3Handling Static Files27:44
4.3
Handling Static Files
27:44
5.Story Submission2 lessons, 36:16
2 lessons, 36:16
5.1Creating the Story Submission Form14:28
5.1
Creating the Story Submission Form
14:28
5.2Adding User Authentication21:48
5.2
Adding User Authentication
21:48
6.The Right to Vote2 lessons, 30:51
2 lessons, 30:51
6.1Using AJAX17:27
6.1
Using AJAX
17:27
6.2Wrapping Up the Vote View13:24
6.2
Wrapping Up the Vote View
13:24
7.Conclusion1 lesson, 09:44
1 lesson, 09:44
7.1DRY'ing Up the Code09:44
7.1
DRY'ing Up the Code
09:44