Installing and Configuring DRF
Add DRF and the browsable API.
A REST API, Quickly
Django REST Framework, or DRF, layers a clean toolkit on top of Django so you can turn your models into a JSON API fast. 🚀
Install the Package
You add DRF the same way you add any Python library: with pip, then pin it in requirements so teammates get the same version.
pip install djangorestframeworkAll lessons in this course
- Installing and Configuring DRF
- Serializers: Model to JSON
- APIView and Function @api_view
- The Browsable API and Status Codes