Instructor-led training
Introduction to Django Training Courseware Training in Riviera Beach, Florida
Private Python Programming training for organizations from Hartmann Software Group, delivered onsite in Riviera Beach, Florida 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 Riviera Beach, Florida 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 TrainingPrerequisites
Course 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)
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
Userdirectly 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
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.