  class SimpleRouter(BaseRouter):
      routes = [
          # List route.
          Route(
              key='list',
              url=r'^{prefix}{trailing_slash}$',
              mapping={
                  'get': 'list',
                  'post': 'create'
              },
 
</s> remove             key='detail',
 </s> add  </s> remove             mapping={
                '{httpmethod}': '{methodname}',
            },
 </s> add  </s> remove             if route.key == 'dynamic':
 </s> add             if isinstance(route, DynamicDetailRoute): </s> remove             elif route.key == 'collection':
 </s> add             elif isinstance(route, DynamicListRoute): </s> remove         Route(
            key='collection',
 </s> add         DynamicListRoute(
  class SimpleRouter(BaseRouter):
      routes = [
          # List route.
          Route(

              url=r'^{prefix}{trailing_slash}$',
              mapping={
                  'get': 'list',
                  'post': 'create'
              },
keep keep keep keep replace keep keep keep keep keep
 Introduce DynamicDetailRoute and DynamicListRoute to distinguish between different route types 
rest_framework/routers.py