0PricingLogin
Django Academy · Lesson

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 djangorestframework

All lessons in this course

  1. Installing and Configuring DRF
  2. Serializers: Model to JSON
  3. APIView and Function @api_view
  4. The Browsable API and Status Codes
← Back to Django Academy