Intro to Django Models

Learning Objectivesβ
Students will be able to: |
---|
Define a Django Model for a data entity |
Generate migrations when Models are added or updated |
Run pending migrations |
Implement a Details page for a single model instance |
Road Mapβ
- Setup
- The Model Layer in the Django Architecture
- Quick Refactor of the Existing Code
- What's a Model?
- Models in Django
- Making and Running Migrations
- Performing CRUD Using Django's ORM
- Using the
Cat
Model in Cat Collector - I am the Admin!
- Adding a Cat "Details" Page
- Removing Hand-coded URLs in Templates