Django Models and Relationships
Posted on May 10th, 2022
🗓️ Today’s Topics
- Review registration & authentication
- Model fields
- Database tables
- One-to-many (O2M) and Many-to-many (M2M) relationships
🎯 Project
Continue working on Freeshelf, through Goals 3 and 4.
References that we used today:
- William Vincent Slug Tutorial
- Shawna’s Freeshelf with Working Categories and Slugs
- Inserting data from a csv
- Morning Class Recording Access Passcode: 5#L@^kQi
🔖 Resources
- Rebecca’s Django Videos
- Django Docs: Models
- Django Docs: Model Relationships
- ⭐ Django Docs: Model Field Reference
- Django Docs: Making Queries
- 🍕 Tips for using Django’s Many-to-Many Field
- What is an Entity Relationship Diagram? - The first video is especially good.
- Less Obvious Things to Do with the Django ORM
- Real Python: Django Migrations Primer
- Database Basics