/yo_django

Write a Django app by following the tutorial on djangoproject.com 🐍

Primary LanguagePython

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__)"