Learn Django essentials hands-on, as this course walks you through building a working system that can create, edit, and list notes per user with an authentication system.
Overview
Syllabus
Introduction
- What is Django?
- What you will need to start a Django project
- Creating a new Django project
- Minimum working page
- Creating your first Django template
- Django apps and the concept of modularization
- Creating users in Django
- Django admin: Easily visualizing and creating data
- User authentication in two simple steps
- Introduction to ORMs
- Creating your first model
- Using admin for data creation and manipulation
- Using Django shell for creating and querying data
- Creating a dynamic template
- Display content of a single note
- Introduction to Django class-based views
- A bit more on class-based views
- Static files in Django
- How to set up a base HTML for every Django template
- Let's add some style
- 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!
- The U in the CRUD: Updating data
- The D in the CRUD: Deleting data
- ForeignKey: How models relate to each other
- Displaying only the logged user data
- Adding a new note after ForeignKey
- Adding login and logout pages
- Adding a signup page
- Finishing touches
- Continuing on with Django
Taught by
Leticia Portella