Introduction to Django Training Courseware (DJG101)
This course is designed to provide a deep introduction to of Django, a powerful Python web framework. The course begins by familiarizing students with the basics of setting up a Django project, working with templates, and creating applications. Students will then learn how to work with models, forms, and views, as well as explore more advanced topics like user registration, email handling, and custom template tags and filters. By the end of the course, students will have a solid foundation in Django, enabling them to build dynamic web applications.
Publisher: Webucator
Benefits
- Comprehensive Coverage: The course covers many aspects of Django, from basic to advanced techniques, making it suitable for learners of various skill levels.
- Hands-on Exercises: Practical exercises throughout the course allow students to apply their knowledge and gain confidence in using Django for their web development projects.
- Real-world Applicability: The course teaches practical skills that students can directly apply to their web development projects using Django.
- Project Management: Students will learn to efficiently manage and organize their Django projects using best practices and project organization tools.
- Collaboration and Sharing: The course covers various methods to share, deploy, and collaborate on projects, ensuring students can effectively work with others and present their work professionally.
- Advanced Techniques: The course includes a dedicated section on advanced Django features, such as custom template tags and filters, user registration, and email handling, allowing students to build more complex web applications.
Outline
- Getting Started with Django
- Welcome to the Server-side
- Google Chrome DevTools: Network Tab
- Creating the Virtual Environment
- Creating a Virtual Environment and Installing Django (Exercise)
- Exploring the Django Source Code
- Creating a New Project
- Hello, Django! (Exercise)
- Settings
- Django Apps
- Creating a New App
- First Django App (Exercise)
- Working with Templates (Exercise)
- Creating an About Us Page (Exercise)
- Git, GitHub, and an App with a Model
- djangojokes.com
- Version Control Systems, Git, and GitHub
- Setting Up VS Code, Git, and GitHub (Exercise)
- Creating the Project (Exercise)
- Creating a pages App (Exercise)
- Creating the jokes App (Exercise)
- Models
- Migrating (Exercise)
- Creating a Model (Exercise)
- Types of Views
- Creating a ListView (Exercise)
- Creating a DetailView (Exercise)
- GET and POST Requests
- Creating and Updating Jokes (Exercise)
- Deleting Objects
- Deleting Jokes (Exercise)
- Template Filters and Tags
- Setting Up the Project (Exercise)
- get_context_data()
- Adding Template Context (Exercise)
- Template Filter Basics
- Adding Filters (Exercise)
- Most Useful Template Filters
- Template Filter Quick Reference
- Template Tag Basics
- Most Useful Template Tags
- Template Tag Quick Reference
- Custom Filters
- Creating Custom Filters (Exercise)
- Custom Tags
- Creating Custom Tags (Exercise)
- Static Files
- Static File Basics
- Adding Static Files to Django Jokes (Exercise)
- Review of the Settings
- Django Admin and the User Model
- The Database
- Setting Up PostgreSQL (Exercise)
- The Default User Model
- Creating a Custom User Model (Exercise)
- Referencing the User Model
- Getting Started with Django Admin (Exercise)
- Adding the jokes Table to Django Admin (Exercise)
- Installing the Django Admin Documentation Generator (Exercise)
- URLs and Slugs
- Slugs
- Creating a Slug-generating Function (Exercise)
- Changing Jokes to Use Slugs (Exercise)
- Sending Email with SendGrid
- Transactional Email Services
- Getting a SendGrid Account (Exercise)
- Creating an Email Utility Function (Exercise)
- Forms and Widgets
- Form Processing
- Understanding Form Fields
- Creating a Job Application Form (Exercise)
- Core Field Arguments
- Building out the Application (Exercise)
- Typed Choice Fields
- Changing Widgets
- Improving the Job Application Form (Exercise)
- Validators
- Crispy Forms (Exercise)
- Making the Joke Form Crispy (Exercise)
- ModelForms
- Models
- Model Fields
- Model Field Arguments
- ModelForms
- Creating a ModelForm (Exercise)
- Many-to-One Relationships
- Adding Joke Categories (Exercise)
- Many-to-Many Relationships
- Adding Joke Tags (Exercise)
- Updating the Joke Templates (Exercise)
- Tying Job Applications to Models (Exercise)
- User Registration
- The User-Registration Process
- Getting Started with django-allauth (Exercise)
- django-allauth Templates
- Making the Authentication Pages Crispy (Exercise)
- Updating the _base.html Template (Exercise)
- Email Templates
- Custom User Registration (Exercise)
- Creating a My Account Page (Exercise)
- Associating Users with Jokes (Exercise)
- Mixins
- Restricting Joke Creating and Updating (Exercise)
Required Prerequisites
- Python
- Basic Django as taught in our Introduction to Django course
Useful Prerequisites
- JavaScript
- SQL
License
Length: 4
days | $160.00 per copy
What is Included?
- Student Manual
- Student Class Files