Introduction to Django Training

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

  1. Comprehensive Coverage: The course covers many aspects of Django, from basic to advanced techniques, making it suitable for learners of various skill levels.
  2. 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.
  3. Real-world Applicability: The course teaches practical skills that students can directly apply to their web development projects using Django.
  4. Project Management: Students will learn to efficiently manage and organize their Django projects using best practices and project organization tools.
  5. 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.
  6. 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

  1. Getting Started with Django
    1. Welcome to the Server-side
    2. Google Chrome DevTools: Network Tab
    3. Creating the Virtual Environment
    4. Creating a Virtual Environment and Installing Django (Exercise)
    5. Exploring the Django Source Code
    6. Creating a New Project
    7. Hello, Django! (Exercise)
    8. Settings
    9. Django Apps
    10. Creating a New App
    11. First Django App (Exercise)
    12. Working with Templates (Exercise)
    13. Creating an About Us Page (Exercise)
  2. Git, GitHub, and an App with a Model
    1. djangojokes.com
    2. Version Control Systems, Git, and GitHub
    3. Setting Up VS Code, Git, and GitHub (Exercise)
    4. Creating the Project (Exercise)
    5. Creating a pages App (Exercise)
    6. Creating the jokes App (Exercise)
    7. Models
    8. Migrating (Exercise)
    9. Creating a Model (Exercise)
    10. Types of Views
    11. Creating a ListView (Exercise)
    12. Creating a DetailView (Exercise)
    13. GET and POST Requests
    14. Creating and Updating Jokes (Exercise)
    15. Deleting Objects
    16. Deleting Jokes (Exercise)
  3. Template Filters and Tags
    1. Setting Up the Project (Exercise)
    2. get_context_data()
    3. Adding Template Context (Exercise)
    4. Template Filter Basics
    5. Adding Filters (Exercise)
    6. Most Useful Template Filters
    7. Template Filter Quick Reference
    8. Template Tag Basics
    9. Most Useful Template Tags
    10. Template Tag Quick Reference
    11. Custom Filters
    12. Creating Custom Filters (Exercise)
    13. Custom Tags
    14. Creating Custom Tags (Exercise)
  4. Static Files
    1. Static File Basics
    2. Adding Static Files to Django Jokes (Exercise)
    3. Review of the Settings
  5. Django Admin and the User Model
    1. The Database
    2. Setting Up PostgreSQL (Exercise)
    3. The Default User Model
    4. Creating a Custom User Model (Exercise)
    5. Referencing the User Model
    6. Getting Started with Django Admin (Exercise)
    7. Adding the jokes Table to Django Admin (Exercise)
    8. Installing the Django Admin Documentation Generator (Exercise)
  6. URLs and Slugs
    1. Slugs
    2. Creating a Slug-generating Function (Exercise)
    3. Changing Jokes to Use Slugs (Exercise)
  7. Sending Email with SendGrid
    1. Transactional Email Services
    2. Getting a SendGrid Account (Exercise)
    3. Creating an Email Utility Function (Exercise)
  8. Forms and Widgets
    1. Form Processing
    2. Understanding Form Fields
    3. Creating a Job Application Form (Exercise)
    4. Core Field Arguments
    5. Building out the Application (Exercise)
    6. Typed Choice Fields
    7. Changing Widgets
    8. Improving the Job Application Form (Exercise)
    9. Validators
    10. Crispy Forms (Exercise)
    11. Making the Joke Form Crispy (Exercise)
  9. ModelForms
    1. Models
    2. Model Fields
    3. Model Field Arguments
    4. ModelForms
    5. Creating a ModelForm (Exercise)
    6. Many-to-One Relationships
    7. Adding Joke Categories (Exercise)
    8. Many-to-Many Relationships
    9. Adding Joke Tags (Exercise)
    10. Updating the Joke Templates (Exercise)
    11. Tying Job Applications to Models (Exercise)
  10. User Registration
    1. The User-Registration Process
    2. Getting Started with django-allauth (Exercise)
    3. django-allauth Templates
    4. Making the Authentication Pages Crispy (Exercise)
    5. Updating the _base.html Template (Exercise)
    6. Email Templates
    7. Custom User Registration (Exercise)
    8. Creating a My Account Page (Exercise)
    9. Associating Users with Jokes (Exercise)
    10. Mixins
    11. 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

LicenseRequest More InformationDownload Sample CopyRequest Trainer Evaluation Copy
What is Included?
  • Student Manual
  • Student Class Files
    Courseware Tracks

    This course is included in the following tracks: