REST is a loosely defined protocol for listing, creating, changing, and deleting data on your server over HTTP. The Django REST framework (DRF) is a toolkit built on top of the Django web framework that reduces the amount of code you need to write to create REST interfaces.
In this course you’ll learn about:
- The REST protocol
Serializersand how to use them with Django objects
- Using Django
ViewSetclasses to create REST end-points
- Multiple flavors of renderers and how to control their output
- Specifying permissions and limiting who can see what data in your REST API
This course assumes you are familiar with Django models, views, URL patterns, and the admin interface. For more background on these topics see:
Here are resources for curl and Black:
Sample code provided in the Supporting Materials drop-down was tested using Python 3.9.0, Django 3.1.2, and Django REST framework 3.12.1.