Lessons
1Project setupCreate a Django 5.1 project and app, understand the file layout, and keep settings and secrets out of the code.7 min
2Models & the adminDesign models with the right fields, relationships and constraints, run migrations, and turn the admin into a usable back office.7 min
3Views, URLs & templatesMap URLs to views, query the ORM, and render inherited templates with filters, pagination and safe escaping.7 min
4Forms & validationCollect user input safely with Form and ModelForm classes, custom validation and error display.6 min
5Class-based & generic viewsReplace repetitive view code with ListView, DetailView, CreateView and mixins.6 min
6Authentication & permissionsLog users in and out, protect views, and control access with groups and permissions.6 min
7ORM queries & performanceFilter, aggregate and annotate with the ORM while avoiding N+1 queries.6 min
8Deploying Django securelyMove from runserver to a hardened production stack: environment settings, HTTPS headers, Gunicorn, static files and backups.7 min