Prepare the Environment
# Create the project root folder.
mkdir projectroot
# Open the folder in VS Code.
code .
# Open new terminal in VS Code.
# Create a new virtual environment and activate.
py -m venv env
.\env\Scripts\activate
# In VS Code IDE, go to
# View
# → Command Palette
# → Python: Select Interpreter
# → Select the python in the virtual environment just created.
# Check version of python and pip, upgrade pip.
py --version
py -m pip install --upgrade pip
pip --version
# Install Django and check version.
py -m pip install django
django-admin --version