Django Essential Training (2021)
2h 7mIntermediate2021-09-23
Authors
Leticia Portella
Software Developer | Podcaster | Oceanographer
Course details
Django is a robust and powerful framework with a lot of moving parts. 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 walks you through each step of building a working system that can create, edit, and list books per user with an authentication system. Topics include getting started, creating users and data, ORMs, creating a dynamic template, Django class-based files and static views, and so much more!
Skills covered
DjangoBack-End Web DevelopmentFull-Stack Web DevelopmentEssential TrainingWeb DevelopmentOpen Source
Concepts
Introduction
- What is Django
- What you will need to start a Django project
Starting Your Django Project
- Creating a new Django project
- Minimum working page
- Creating your first Django template
- Django apps and the concept of modularization
Django Built-In User Management
- Creating users in Django
- Django admin - Easily visualizing and creating data
- User authentication in two simple steps
How Django Interacts with Databases
- Introduction to ORMs
- Creating your first model
- Using admin for data creation and manipulation
- Using Django shell for creating and querying data
Building Dynamic Webpages
- Creating a dynamic template
- Display content of a single note
- Introduction to Django class-based views
- A bit more on class-based views
Building a Robust Front End in Django
- Static files in Django
- How to set up a base HTML for every Django template
- Let's add some style
Django Forms - Validation Shouldn t Be Hard
- Create a webpage
- Understanding how Django handles security in POSTs
- Django forms - Powerful validation with minimal work
- Django forms are useful for layout as well
Working with Existing Data
- The U in the CRUD - Updating data
- The D in the CRUD - Deleting data
Using Django to Store and Display User-Specific Data
- ForeignKey - How models relate to each other
- Displaying only the logged user data
- Adding a new note after ForeignKey
Login, Logout, and Signup Are Simple
- Adding login and logout pages
- Adding a signup page
- Finishing touches
Conclusion
- Continuing on with Django