Tool
Django
A batteries-included Python web framework
Learn Django from setup to deployment — projects and apps, views, URLs, templates, models and QuerySets, list and detail pages, the admin, forms, static files, authentication, and PostgreSQL deployment.
13
Chapters
27
Hours (estimated)
1
Self-paced
Part-time
About 9 weeks
1 hour a day, 3 days a week
Full-time
About 3 weeks
3 hours a day, 3 days a week
Estimated from 13 chapters (notes, practice, labs, quiz, exercise, and challenge) plus the final exam. Go at your own pace.
Curriculum
13 chapters, each with a tutorial, a live example, a quiz, an exercise, a challenge, and class practice.
- 1
Introduction to Django
The model-view-template pattern.
- 2
Setup, Projects & Apps
Virtual environments, installing Django, creating a project and an app, settings, and running the development server.
- 3
Views
Handling requests and returning responses.
- 4
URLs & Routing
Mapping paths to views.
- 5
Templates
Rendering dynamic HTML with Django's template language.
- 6
Models & ORM
Defining data shape and querying it.
- 7
QuerySets
Getting, filtering, excluding, ordering, and slicing data, field lookups, values, and following relationships.
- 8
Displaying Data: List & Detail Pages
Building list and detail pages, linking them with slugs, a master template, a custom 404 page, and class-based views.
- 9
Admin Panel
Django's built-in content management interface.
- 10
Forms
Validating and processing user input.
- 11
Static Files & Styling
Serving CSS, JavaScript, and images, the static template tag, collectstatic, WhiteNoise, and adding Bootstrap.
- 12
Authentication
Login, logout, and permissions.
- 13
PostgreSQL & Deployment
Moving from SQLite to PostgreSQL, settings for production, environment variables, the deployment checklist, and deploying to the cloud.
Django is free to study, self-paced. Pass the final exam to earn an optional Certificate of Completion for $40.