Django Essential Training
2h 40mIntermediate2024-12-16
Authors
Leticia Portella
Software Developer | Podcaster | Oceanographer
Course details
Django is a robust and powerful framework with a lot of moving parts. Django is one of the most robust and useful frameworks out there. With Python's popularity increasing and new features being released (such as extensive async support), Django will likely increase even more its presence at many top-quality companies.
Although starting a new project can be quite easy, there is a lot to uncover. This course teaches fundamentals, such as what a framework is, what an HTTP request is, and how Django replies to HTTP requests. Software developer and podcaster Leticia Portella takes you through each step of building a working system that can create, edit, and list books per user with an authentication system. The project will also be deployed in a free infrastructure platform such as Heroku or PythonAnywhere.
Although starting a new project can be quite easy, there is a lot to uncover. This course teaches fundamentals, such as what a framework is, what an HTTP request is, and how Django replies to HTTP requests. Software developer and podcaster Leticia Portella takes you through each step of building a working system that can create, edit, and list books per user with an authentication system. The project will also be deployed in a free infrastructure platform such as Heroku or PythonAnywhere.
Skills covered
DjangoBack-End Web DevelopmentFull-Stack Web DevelopmentPythonWeb DevelopmentProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - What is Django
- 02 - What you need to start a Django project
- 03 - Utilizing the Django documentation
- 04 - Using Codespaces in this course
1. Starting Your Django Project
- 05 - Creating a new Django project
- 06 - The model view template
- 07 - Minimum working page
- 08 - Creating your first Django template
2. Django Built-In User Management
- 09 - Django admin - Easily visualizing and creating data
- 10 - Migrations - Making database changes easy
- 11 - User authentication in two simple steps
3. How Django Interacts with Databases
- 12 - Introduction to ORMs
- 13 - Creating your first model
- 14 - Using admin for data creation and manipulation
- 15 - Using Django shell for creating and querying data
- 16 - Code challenge - Adding likes to notes
- 17 - Solution - Adding likes to notes
4. Building Dynamic Webpages
- 18 - Creating a dynamic template
- 19 - Creating your first Django dynamic webpage
- 20 - How can Django can list data with just some small changes
- 21 - Introduction to Django class-based views - A few classes have the power to change the world
- 22 - Code challenge - Showing just popular notes
- 23 - Solution - Showing just popular notes
5. Building Robust Front-Ends in Django
- 24 - Static files in Django
- 25 - An HTML skeleton - How to set up a base structure to every Django template
- 26 - It's time to add some style
- 27 - Code challenge - Dividing a template into smaller parts
- 28 - Solution - Dividing a template into smaller parts
6. Django Forms - Validation Shouldn t Be Hard
- 29 - Create a webpage
- 30 - Understanding how Django handles security in POSTs
- 31 - Django forms - Powerful validation with minimal work
- 32 - Django forms are useful for layout as well
- 33 - Codespaces error and the solution
7. Working with Existing Data
- 34 - The U in the CRUD - Updating data
- 35 - The D in the CRUD - Deleting data
- 36 - Code challenge - A button to add a like to a note
- 37 - Solution - A button to add a like to a note
8. Using Django to Store and Display User-Specific Data
- 38 - How to update data stored in your database
- 39 - Template for update
- 40 - Endpoint and template for deleting
- 41 - Code challenge - Mark a note as public or private
- 42 - Solution - Mark a note as public or private
9. Login, Logout, and Signup Are Simple
- 43 - Adding login and logout pages
- 44 - Adding a signup page
- 45 - Finishing touches
- 46 - Code challenge - Create a share link for a public note
- 47 - Solution - Create a share link for a public note
Conclusion
- 48 - Next steps