elisabethirgens / yo_django

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:Python 85.9%Language:HTML 13.0%Language:CSS 1.1%