Skip to content

Glossary: Django Beyond the Basics

ViewSet, router

Also written: ViewSet, viewset, router, viewsets

A viewset puts all of a resource's actions in one class. A router makes the URLs for them.

Where the book teaches it

Related terms

DefaultRouter@action