Tutorial

Installing Django

Useful Commands

pip install django
djano-admin startproject stortime
cd storytime
    settings.py - project config
    manage.py   - command runner
    urls.py     - urls to configure
                  starting project   
./manage.py runserver
./manage.py migrate
./manage.py startapp story

Migrations

  1. Change your models (in models.py).
  2. Run manage.py makemigrations to create migrations for those changes
  3. Run manage.py migrate to apply those changes to the database.

Testing

Resources