Course details
Django
Learn how a Django project is put together and how a request travels through it. You will set up a clean environment, create a project and an app, route URLs, write views, define a model and test it — all while growing one small cookbook site.
Course curriculum
Introduction to Django3 lessons
See the request and response that sit behind every web page, why teams reach for a framework instead of writing that plumbing by hand, and how Django splits a site into models, views and templates.
Setting Up: Virtual Environments and Installing Django3 lessons
Give the cookbook its own virtual environment, install Django into it, and record exact versions so the project can be rebuilt on any machine.
Projects and Apps5 lessons
Create a Django project and your first app, learn what manage.py, settings.py and urls.py are for, and start the development server to see the site in a browser.
The Request–Response Flow5 lessons
Write URL patterns, capture values with path converters and regular expressions, name your URLs so links never go stale, and see where middleware wraps every request and response.
Models, Views, Admin and Tests5 lessons
Define the Recipe model and migrate it, answer requests with function-based and class-based views, manage recipes in the admin, and prove it all works with tests.
