π
Yo Django Write my first Django app by following the tutorial on djangoproject.com
Using a virtual environment
https://docs.python.org/3/tutorial/venv.html#creating-virtual-environments
- βA common directory location for a virtual environment is
.venv
β - From within that, activate with
source tutorial-env/bin/activate
Get started
python manage.py runserver
Run tests
python manage.py test polls
Django source files
Find path with:
python -c "import django; print(django.__path__)"