          # on methods of the viewset.
          Route(
              key='collection',
              url=r'^{prefix}/{methodname}{trailing_slash}$',
              mapping={
                  '{httpmethod}': '{methodname}',
              },
              name='{basename}-{methodnamehyphen}',
              initkwargs={}
          ),
          # Detail route.
          Route(
 
</s> remove         Route(
            key='collection',
 </s> add         DynamicListRoute( </s> remove             mapping={
                '{httpmethod}': '{methodname}',
            },
 </s> add  </s> remove             key='detail',
 </s> add  </s> remove         Route(
            key='dynamic',
 </s> add         DynamicDetailRoute( </s> remove             key='list',
 </s> add 
          # on methods of the viewset.
          Route(
              key='collection',
              url=r'^{prefix}/{methodname}{trailing_slash}$',



              name='{basename}-{methodnamehyphen}',
              initkwargs={}
          ),
          # Detail route.
          Route(
keep keep keep keep replace replace replace keep keep keep keep keep
 Introduce DynamicDetailRoute and DynamicListRoute to distinguish between different route types 
rest_framework/routers.py