ViewSet & Router (DRF)
A ViewSet groups the logic for a set of related API endpoints (list, retrieve, create, update, destroy) into one class. Paired with a DRF Router, it…
A ViewSet groups the logic for a set of related API endpoints (list, retrieve, create, update, destroy) into one class. Paired with a DRF Router, it…