Programming · Intermediate
Django
The Python framework that ships with the boring parts already written.
- Lessons
- 15 lessons
- Total runtime
- 35 hours of video
- Modules
- 4 modules
- Optional lessons
- 13 optional
Free. No account.

About this course
Django's slogan used to be "the web framework for perfectionists with deadlines", which is unusually honest marketing. It is opinionated, it comes with an ORM, an admin interface, authentication, sessions and a security posture already decided, and it expects you to do things its way. In exchange you skip a fortnight of assembling those pieces yourself and getting one of them subtly wrong.
The admin interface deserves specific mention because it is the feature that sells the framework. Define your models and you get a working, permission-aware interface for editing your data, free. For a great many internal tools that is the entire product.
The concept to get straight early is the ORM. Django lets you query a database in Python without writing SQL, which is convenient right up until it quietly issues four hundred queries in a loop. Understanding what your ORM calls actually become is what separates a Django app that scales from one that falls over — which is why the SQL course here is a genuinely useful companion rather than a nice-to-have.
About five hours on the required path and around thirty-five in total, most of it alternative full courses and a second, longer treatment of REST APIs. You need real Python first, including classes.
What you'll be able to do
- Explain Django's request cycle: URLs, views, templates and models
- Model data with the ORM and run migrations without fear
- Use the admin interface, and customise it when the defaults are not enough
- Handle forms, authentication and sessions using what the framework provides
- Recognise when the ORM is generating far more queries than you intended
Curriculum
15 lessons · 35 hours
The Framework
3 lessons · 2h 35m
- 01CompletedDjango Tutorial for Beginners – Build Powerful BackendsProgramming with MoshVideoThe shape of a Django project and the request cycle, taught in an order that makes the framework's opinions legible rather than arbitrary. Start here.1h 5m
- 02CompletedLearn Django in 20 MinutesOptionalTech With TimVideoThe shape of a Django project — apps, urls, views, models, templates — before any of it is explained. Twenty minutes of orientation that makes the longer courses easier to follow.21m
- 03CompletedDjango Crash CourseOptionalfreeCodeCamp.orgVideoA second explanation of the basics at roughly the same length as the first lesson. Worth taking if the request-to-response path is still fuzzy.1h 9m
Building Something
4 lessons · 17h 39m
- 04CompletedPython Django Web Framework - Full Course for BeginnersfreeCodeCamp.orgVideoA complete application built end to end — models, migrations, the admin, forms and authentication. The migrations section is worth close attention; it is the part that gets frightening later if it was never understood early.3h 55m
- 05CompletedPython Django 7 Hour CourseOptionalTraversy MediaVideoOne large application built properly over seven hours, including authentication, file uploads, search and messages. The most complete single item here.7h 10m
- 06CompletedPython Django Full Course for BeginnersOptionalDave GrayVideoThree hours, and the clearest of these on the ORM specifically — querysets, relationships and migrations, which is where Django is least like plain Python.3h 20m
- 07CompletedDjango For Beginners — Full TutorialOptionalTech With TimVideoA third project-based pass. Here for the same reason as the others: Django has enough moving parts that a second walkthrough is rarely wasted.3h 14m
APIs with Django REST Framework
4 lessons · 9h 50m
- 08CompletedDjango REST Framework Course — Build Web APIs with PythonOptionalfreeCodeCamp.orgVideoMost Django work now serves JSON to a frontend rather than rendering templates. This is the standard way to do that, covering serializers, viewsets and permissions.1h 27m
- 09CompletedDjango REST Framework — Build an API from ScratchOptionalCaleb CurryVideoShorter and more hands-on, building up from a plain view to a viewset so you can see what the abstraction is actually saving you.41m
- 10CompletedHow To Make a Django REST APIOptionalTech With TimVideoEnds with the API deployed rather than running locally, which is the step tutorials most often skip.40m
- 11CompletedBuild a Django REST API — Complete TutorialOptionalCodingEntrepreneursVideoSeven hours on REST framework alone — authentication, permissions, pagination, testing and versioning. Reference depth rather than a sitting.7h 2m
Shipping It
4 lessons · 5h 11m
- 12CompletedDeploying Your Django Application to a Linux ServerOptionalCorey SchaferVideoNginx, Gunicorn, a real domain and HTTPS, done by hand on a plain server. Deployment is the point where most self-taught projects stop, and doing it once manually explains what every platform is doing for you.1h 22m
- 13CompletedEnvironment-Based Settings in Django ProjectsOptionalBugBytesVideoKeeping secrets out of the repository and settings separate per environment. Small, unglamorous, and the difference between a project you can deploy and one you cannot.26m
- 14CompletedDocker — Django and PostgreSQL From ScratchOptionalBugBytesVideoContainerising the application and its database together. Pairs directly with the Docker and Containers course if you have taken it.33m
- 15CompletedDeploy Django to RailwayOptionalCodingEntrepreneursVideoThe modern, managed alternative to configuring a server yourself. Faster to a live site, and worth comparing against the manual deployment above.2h 50m
Credits
Every lesson in this course was made by one of these channels. Tubeversity sequenced them; it did not make them. If a course is useful to you, the people below are the ones who earned it.