🐍 REST APIs and Django 🐍
Posted on Mar 22nd, 2021
Today’s Topics
- Habit Tracker progress reports
- Lightning talks
- Lookup expressions with
.filter() - Lookups that span relationships
- Complex lookups with Q
- Related objects
- Aggregate & Annotate
- Lookup expressions with
- HTTP requests and responses
- REST and the Django REST Framework
🎯 Project
Complete the official Django REST Framework tutorial. You may find it easier going if you follow the guide by Will Vincent.
Will Vincent uses the exact same code and steps, but takes more time to explain what is going on and uses the django admin interface instead of the shell to create objects in the database. Will’s tutorial stops short of the last step, step 6, in the official tutorial. But if you finish step 5 and want to keep going, you can continue with the official tutorial.
You should complete the tutorial by tomorrow afternoon.
Some tips about the DRF Tutorial to keep in mind:
- Do not copy & paste the code. You’ll get a lot more out of it if you type it out yourself.
- Don’t use the Momentum Django Project Template. The custom user model in that template conflicts with the tutorial.
📖 Read | 📺 Watch | 🎧 Listen
- Django Chat: Django REST Framework
- How HTTP works and why it’s important - Free Code Camp
- A Beginner’s Guide to REST