- Database setup
- Creating models: define the class and relationships
- Activating models:
- add a reference to its configuration class in the INSTALLED_APPS (../settings.py) setting
- three step guide to making model changes:
a. Change your models (in models.py).
b. Run python manage.py makemigrations to create migrations for those changes
c. Run python manage.py migrate to apply those changes to the database.
- Playing with the API
Command: py manage.py shell - Introducing the Django Admin
Reference:
1. Tutorial
2. Related objects reference
3. Field-lookups