Welcome to Part 2 of Django Full Course: Zero to Production . In Part 1 we looked at what Django is, how MVT works, and how Django compares with Flask and FastAPI. Now it's time to get your hands dirty.
Before writing a single line of Django code, you need a clean, reliable development environment. A good setup saves hours of confusing errors later, and it makes your projects easy to share and rebuild on any computer.
By the end of this post you will be able to:
Install and verify a reproducible coding environment (Python and VS Code)
Isolate dependencies with a virtual environment and export a reproducible requirements.txt
Install a compatible Django version and verify that it works
Watch the lessons
This post covers videos 3, 4, and 5 of the course.
Video 3: Install Python, VS Code and Required Extensions
Video 4: Python Virtual Environment, venv, pip and Requirements
Video 5: Install Django and Check Django Version
Part A: Install Python and VS Code
1.…