Skip to content

IncludeAppInRouteNameRouter ​

Overview ​

A router that includes the app name in the route name, in case of model name conflicts between apps.

get_default_basename ​

If basename is not specified, attempt to automatically determine it from the viewset.

Signature ​

get_default_basename(self, viewset)

Parameters ​

NameTypeRequiredDefaultDescription
selfyes
viewsetyes

Source ​

server/vueda/core/routers.py:22

Source ​

server/vueda/core/routers.py:17