EraCode practice
Toggle DRF Renderers by Environment
Django REST FrameworkintermediateMulti-Part
Summary
Practice a small but real-world DRF configuration task: enable the Browsable API only in development while keeping production JSON-only.
Problem preview
### Goal Make DRF renderer configuration environment-aware. - When is **true**, return both JSON and Browsable API renderers. - When is **false**, return **JSON only**. - Fill exactly one gap so matc…
Attempt this challenge
Sign in to attempt the full challenge with timed AI grading, hints, and test feedback.