Skip to content

Glossary: Django Beyond the Basics

basename

An argument to `router.register` that gives a viewset's URL names a stem when the viewset has no `queryset` to take it from. `staff-order` gives names like `staff-order-list`.

Where the book teaches it

Related terms

ViewSet, router@action