django-rest-frameworkEasy Playground

Powerful toolkit for building REST APIs in Django

Getting started with django-rest-frameworkRun locally
Install
pip install djangorestframework
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: django_rest_framework)

django-rest-framework is a third-party package. Powerful toolkit for building REST APIs in Django. Install with: pip install djangorestframework

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?