rest_witchcraft.routers.
DefaultRouter
Bases: rest_framework.routers.DefaultRouter
rest_framework.routers.DefaultRouter
get_default_base_name
get_default_basename
get_lookup_regex
Given a viewset, return the portion of the url regex that is used to match against a single instance.
Can be overwritten by providing a lookup_url_regex on the viewset.