Django
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
- Change your models (in models.py).
- Run
manage.py makemigrations
to create migrations for those changes - Run
manage.py migrate
to apply those changes to the database.
Testing
Resources
- django and AWS S3
- Django Breadcrumbs
- select2 is jQuery replacement for select boxes. Nicely integrated with django.
- Django Debug Toolbar: a must!
- Django Book
- Django vs Flask