Django

Overview

About Django

Django is a high-level Python web framework that lets you build secure, scalable web applications quickly. It ships with an ORM, an admin interface, authentication, and a templating engine out of the box, so you spend your time on your product instead of wiring up plumbing. This course starts with Foundations: Python & the Web, covering the Python, HTTP, Git, and terminal knowledge you need, then Django Fundamentals introduces the MVT pattern and how projects and apps fit together.

URLs & Views and Templates & Static Files cover how a request becomes a rendered page. Models & the ORM teaches you to design your data and query it with QuerySets, and The Django Admin shows how to get a working back office almost for free.

Forms & Validation and Authentication & Permissions cover safely handling user input and controlling access. REST APIs with Django REST Framework then lets you expose your data to front ends and mobile apps with serializers, viewsets, and token or JWT authentication.

Finally, Testing & Debugging makes your code reliable, Security & Performance covers Django's built-in protections and how to avoid common slowdowns like N+1 queries, and Deployment & Production takes your app live with PostgreSQL, Gunicorn, Docker, and a proper production configuration.

Content

12 modules
01

Foundations: Python & the Web

The Python and web knowledge Django assumes you have: core Python, virtual environments and pip, how HTTP requests and responses work, plus Git and terminal basics.

Python HTTP Git venv
02

Django Fundamentals

What Django is and why it exists, the MVT pattern, project vs app structure, settings, and the manage.py commands you will use every day.

MVT Projects & Apps settings.py manage.py
03

URLs & Views

Routing requests with URLconf, writing function-based and class-based views, handling GET and POST, and returning responses, redirects, and errors.

URLconf FBVs CBVs Requests
04

Templates & Static Files

The Django Template Language, template inheritance and includes, filters and tags, and serving CSS, JavaScript, and images the right way.

DTL Inheritance Template Tags Static Files
05

Models & the ORM

Defining models and fields, relationships (one-to-many, many-to-many), migrations, and querying with QuerySets, filters, and aggregations.

Models Migrations QuerySets Relationships
06

The Django Admin

Turning your models into a working back office: registering models, customizing list views, filters, search, and inline editing, plus admin permissions.

ModelAdmin Inlines list_display Custom Actions
07

Forms & Validation

Building Django forms and ModelForms, validating user input, rendering errors, handling file uploads, and how CSRF protection works.

Forms ModelForms Validation File Uploads
08

Authentication & Permissions

Login, logout, and registration flows, sessions, custom user models, and restricting access with permissions, groups, and decorators or mixins.

Auth Sessions Custom User Permissions
09

REST APIs with Django REST Framework

Serializers, API views and viewsets, routers, pagination, filtering, and token or JWT authentication for APIs that front ends and mobile apps can consume.

DRF Serializers ViewSets JWT
10

Testing & Debugging

Writing tests with Django's test client and pytest-django, using fixtures and factories, debugging with the Debug Toolbar, and reading logs and tracebacks.

pytest-django Test Client Fixtures Debug Toolbar
11

Security & Performance

Django's built-in protections (XSS, CSRF, SQL injection, clickjacking), safe settings, and speeding things up with select_related, indexes, and caching.

Security N+1 Queries Indexes Caching
12

Deployment & Production

Environment variables and production settings, PostgreSQL, Gunicorn and Nginx, Docker, static and media files in production, and CI/CD basics.

Gunicorn PostgreSQL Docker CI/CD

What You Can Do After This Course

By the end of the curriculum you'll have shipped real Django projects and covered the full path from Python and web basics to a tested, secured, deployed application. Concretely, you'll be able to:

Build full Django web apps: plan a project, structure apps cleanly, and wire together URLs, views, templates, and models into a working site.

Model and query data confidently: design relational models, run migrations, and write efficient ORM queries instead of reaching for raw SQL.

Handle users and input safely: build forms with proper validation, implement login and registration, and control who can see and do what.

Ship REST APIs: expose your data through Django REST Framework with serializers, viewsets, pagination, and token or JWT authentication.

Test and debug with confidence: write automated tests, catch regressions early, and track down bugs and slow queries quickly.

Deploy to production: harden your settings, run on PostgreSQL with Gunicorn and Nginx or Docker, and keep your app secure and fast under real traffic.