                  view = viewset.as_view(bound_actions, name_suffix=action_name)
                  name = self.name_format % (base_name, action_name)
                  ret.append(url(regex, view, name=name))
  
              # Bind any extra `@action` or `@link` routes
              for action_name in dir(viewset):
                  func = getattr(viewset, action_name)
                  http_method = getattr(func, 'bind_to_method', None)
  
                  # Skip if this is not an @action or @link method
                  if not http_method:
                      continue
  
 
</s> remove     def register(self, prefix, viewset, base_name):
        self.registry.append((prefix, viewset, base_name))
 </s> add     def register(self, prefix, viewset, basename):
        self.registry.append((prefix, viewset, basename))
            for url_format, method_map, name_format, extra_kwargs in routes:
                  view = viewset.as_view(bound_actions, name_suffix=action_name)
                  name = self.name_format % (base_name, action_name)
                  ret.append(url(regex, view, name=name))
  
            for url_format, method_map, name_format, extra_kwargs in routes:
            for url_format, method_map, name_format, extra_kwargs in routes:
            for url_format, method_map, name_format, extra_kwargs in routes:
            for url_format, method_map, name_format, extra_kwargs in routes:
  
                  # Skip if this is not an @action or @link method
                  if not http_method:
                      continue
  
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Various clean up and lots of docs 
rest_framework/routers.py