Skip to main content
00:00/00:00
Lecture 24 of 129

Chapter 4. ORM Models

Download Course (Free)

Course Content

0 / 129 completed
Section 1: Course Curriculum129 videos

Chapter 1. Summary

1m

Part 1. Django essentials

1m

Chapter 2. Your first Django site

4m

Chapter 2. Creating a Django project

14m

Chapter 1. What can you do with Django

18m

Chapter 1. Django unfolds

26m

Chapter 2. Projects vs. apps

4m

Chapter 2. Your first Django app

4m

Chapter 2. Registering a route

4m

Chapter 2. Exercises

1m

Chapter 2. Visiting your view

2m

Chapter 2. Summary

2m

Chapter 2. Your first Django view

4m

Chapter 3. Templates

3m

Chapter 3. Context objects and the parts of a Template

5m

Chapter 3. Rendering a Template

5m

Chapter 3. Django shell

2m

Chapter 3. Common tags and filters

15m

Chapter 3. Escaping special characters

6m

Chapter 3. Exercises

1m

Chapter 3. Using render() in a view

8m

Chapter 3. Summary

2m

Chapter 3. Composing templates out of blocks

10m

Chapter 4. ORM Models

7mNow Playing

Chapter 4. SQLite and dbshell

5m

Chapter 4. Modifying your data

3m

Chapter 4. Django ORM

5m

Chapter 4. Model queries

13m

Chapter 4. Querying models in views

16m

Chapter 4. Model relations

15m

Chapter 4. Model fields

11m

Chapter 4. Danger zone, or know thy SQL

3m

Chapter 4. Fixtures

6m

Chapter 4. Exercises

1m

Chapter 4. Summary

3m

Chapter 5. Django Admin

13m

Chapter 5. Cross-linking between related objects

5m

Chapter 5. Customizing a listing page

14m

Chapter 5. Model Meta properties

7m

Chapter 5. Summary

3m

Part 2. Django building blocks

1m

Chapter 5. Exercises

1m

Chapter 6. User management

4m

Chapter 6. Storing user data

10m

Chapter 6. Restricting access to views

5m

Chapter 6. Authorization in views

5m

Chapter 6. Using signals to automatically create a user profile

6m

Chapter 6. Exercises

1m

Chapter 6. Password management

8m

Chapter 6. Summary

2m

Chapter 7. Serving static files

6m

Chapter 7. Forms, user data, static files, and uploads

20m

Chapter 7. Django ModelForm

21m

Chapter 7. Exercises

1m

Chapter 7. Uploads

20m

Chapter 7. Summary

5m

Chapter 8. Testing your project

10m

Chapter 8. Your first Django test

4m

Chapter 8. Testing with the database

5m

Chapter 8. Expecting errors

3m

Chapter 8. Authenticating and posting data

5m

Chapter 8. Testing with file uploads

4m

Chapter 8. Measuring tests and code quality

4m

Chapter 8. Exercises

1m

Chapter 8. More testing techniques

5m

Chapter 8. Summary

5m

Chapter 9. Exercises

1m

Chapter 9. Writing your own management command

5m

Chapter 9. Testing, and using STDOUT and STDERR

2m

Chapter 9. Management commands

11m

Chapter 9. Handling arguments

12m

Chapter 9. Summary

4m

Chapter 10. Exercises

1m

Chapter 10. More migration choices

5m

Chapter 10. Squashing a migration

3m

Chapter 10. Migration

14m

Chapter 10. Migration with existing data

13m

Chapter 10. Summary

4m

Part 3. Django projects

2m

Chapter 11. Exercises

1m

Chapter 11. APIs

11m

Chapter 11. Other API libraries

6m

Chapter 11. Summary

6m

Chapter 12. HTMX attributes

2m

Chapter 12. Making your pages more dynamic with HTMX

3m

Chapter 12. Lazy loading

5m

Chapter 12. Click to edit

7m

Chapter 12. Search-as-you-type with infinite scroll

12m

Chapter 11. Building an API with Django Ninja

45m

Chapter 12. Exercises

1m

Chapter 12. Summary

5m

Chapter 13. Django power tools

6m

Chapter 13. Feature flags

4m

Chapter 13. Tool libraries

7m

Chapter 13. Look and feel

8m

Chapter 13. Static sites

5m

Chapter 13. Summary

4m

Chapter 14. Configuration

2m

Chapter 14. Where to go next

8m

Chapter 14. Dealing with data

3m

Chapter 14. Asynchronous actions

3m

Chapter 14. A wide world

1m

Chapter 14. Web tools

4m

appendix A. Installation and setup

2m

appendix A. Virtual environments

6m

appendix A. Editing tools

2m

appendix A. Installing third-party libraries

6m

appendix B. Django in a production environment

4m

appendix B. Server hosting vs. platform as a service

7m

appendix B. Synchronous vs. asynchronous

2m

appendix B. Other databases

3m

appendix B. Caching

2m

appendix B. Static file management

4m

appendix D. Django ORM field reference

1m

appendix B. Putting it all together

5m

appendix B. Readying Django for production

12m

appendix D. Field types

1m

appendix D. Relationship field types

4m

appendix E. Sample exercise solutions

2m

appendix E. Chapter 3

4m

appendix E. Chapter 5

2m

appendix E. Chapter 4

3m

appendix E. Chapter 6

3m

appendix E. Chapter 7

4m

appendix E. Chapter 11

2m

appendix E. Chapter 9

3m

appendix E. Chapter 10

4m

appendix E. Chapter 8

4m

appendix E. Chapter 12

4m