🐻 REST APIs and Django 🐻
Posted on Dec 6th, 2021
Today’s Topics
- Show Habit Tracker
- HTTP requests and responses
- REST APIs
- 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 he 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 morning.
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 for the tutorial. The custom user model in that template conflicts with what the tutorial has you do.
📖 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
ICYMI
These links were posted last week, but you may not have gotten to them.
- 📖 RESTful APIs – read up through the “Standard Methods” subsection of the section on “Methods”. You can read more if you want to but it gets pretty deep.
- 📺 Safia Abdullah, You and Me Learn All About HTTP