django-ninjaEasy Playground

Fast Django REST framework with type hints (FastAPI-inspired)

Getting started with django-ninjaRun locally
Install
pip install django-ninja
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: django_ninja)

django-ninja is a third-party package. Fast Django REST framework with type hints (FastAPI-inspired). Install with: pip install django-ninja

Challenge

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