Skip to main content

Instructor-led training

Introduction to Django Training Courseware Training in Beachwood, New Jersey

Private Python Programming training for organizations from Hartmann Software Group, delivered onsite in Beachwood, New Jersey or live online.

What you'll learn

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.

Private Training for Teams

This course is offered as private, instructor-led training for organizations, onsite in Beachwood, New Jersey or live online. Dates, delivery format, and course content are arranged around your team's requirements.

This course is not currently scheduled as a public class for individual enrollment.

Request Group Training

Prerequisites

Python proficient.

Course 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)

Where Django learners get stuck

Django's parts are individually small. The difficulty is that one request passes through several layers, and a mistake in one layer often shows up in another. The syllabus builds a single application in layers, so each topic leans on the one before it.

  • Project plumbing first. Virtual environments, the project and app structure, Settings and templates come before any data. Many early errors are configuration errors, such as an app that isn't registered or a template that isn't found.
  • Models and migrations. Migrating and Creating a Model tie Python classes to database tables. The course later moves to PostgreSQL and a custom user model. Changing the user model after data exists is a classic source of trouble, so the order of those steps matters.
  • Class-based views. ListView, DetailView, GET and POST handling, and delete views hide much of the control flow. Learners often can't tell which method to override, for example get_context_data(), to change what a template receives.
  • Templates as a mini-language. Built-in filters and tags are covered, then custom filters and custom tags. Writing your own requires understanding how the template engine calls Python code.
  • Forms versus ModelForms. Plain forms (fields, widgets, validators, typed choice fields) are taught before ModelForms. Learners commonly blur the two. The course then adds many-to-one and many-to-many relationships.
  • Authentication. django-allauth, its templates, email templates, custom registration and mixins that restrict who can create or update records all depend on the user model and the views covered earlier.

Who this course suits and what to take around it

The stated prerequisite is proficiency in Python. Classes, functions, modules and package installation should already be routine, because the course spends its time on Django rather than the language. It suits developers moving from scripting to web back ends, and teams who want to read and extend an existing Django codebase.

If your Python is still developing, Introduction to Python 3.x covers the language groundwork this course assumes. For deeper language skills such as decorators and advanced idioms, Intermediate Python 3.x is a natural step before or alongside web work.

Afterward, Advanced Django Training Courseware is the logical next step at advanced level for teams who have built the kind of application this course walks through. Other options are listed in the Python Programming courses and learning guide.

Illustrative scenarios

The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.

  • Intake form backed by a database. A team might need a job-application form with required fields, choice fields, custom validators and a polished layout. The syllabus's forms, widgets, validators and Crispy Forms topics lead to ModelForms, which store submissions in related tables.
  • Content site with categories and tags. A group maintaining a catalog of items might use many-to-one and many-to-many relationships, slug-based URLs, list and detail views, and custom template filters for display formatting.
  • Members-only editing. A team might need accounts, a My Account page and a rule that only an item's author can edit or delete it. This uses a custom user model, django-allauth registration, transactional email and mixins on create and update views.

Using AI coding assistants with Django

AI coding assistants are useful for boilerplate: model definitions, simple forms and ModelForms, template markup, URL patterns and a first draft of a custom template filter. They can also explain a traceback from a missing template or a failed migration.

They tend to fail where Django is configuration-sensitive or version-sensitive:

  • django-allauth settings and templates. Option names and defaults change between releases, so generated settings may be silently ignored.
  • User model and migrations. Suggestions may ignore the order of operations, or reference User directly rather than through the project's configured user model.
  • Authorization. Generated views often work for a logged-in user but skip the check that restricts editing to the record's owner.
  • Invented APIs. Filters, tags or form arguments that don't exist can appear convincingly.
  • Secrets. Email-service keys may be hard-coded into settings.

To verify, read the migration files that makemigrations produces, run changes against a scratch database, and check the documentation for the Django and package versions installed. Test permissions with two different users, and confirm that templates render with empty and unusual data. Knowing the framework well enough to review generated code is a main outcome of the course.

Frequently asked questions

What level is this course, and what should I know first?

It is introductory to Django but assumes you are already proficient in Python. You don't need prior Django or web framework experience.

What does the course cover?

It covers project and app setup, settings, templates, models and migrations, class-based views, template filters and tags (including custom ones), static files, PostgreSQL, a custom user model, Django admin, slugs, email sending, forms, widgets and validators, Crispy Forms, ModelForms and model relationships, django-allauth registration, and mixins for restricting access.

Can this course be delivered privately for our team?

Yes. HSG delivers private training for organizations, either onsite at your location or live online.

Can the content be customized?

Private course content can be customized, including tailoring to the technology versions your organization uses. You can describe your needs through a training proposal request.

Training locations

Introduction to Django Training Courseware training across the U.S. and beyond.

We provide private Introduction to Django Training Courseware training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all Introduction to Django Training Courseware training locations

Train your team with HSG

Private, instructor-led training customized for your organization.

  • Onsite or live online delivery
  • Customized curriculum
  • For a single employee or an entire team
  • Flexible scheduling
  • Experienced instructors
Request Group Training

Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com

Ready to train your team?

Let's customize this training for your organization.

Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.