Router¶
Router class definitions
Route¶
Url¶
Router¶
-
class
restae.router.
Router
[source]¶ The default router
-
get_lookup_regex
(handler)[source]¶ Given a handler, return the portion of URL regex that is used to match against a single instance.
-
get_method_map
(handler, method_map)[source]¶ Given an handler, and a mapping of http methods to actions, return a new mapping which only includes any mappings that are actually implemented by the viewset.
-