          super(SimpleRouter, self).__init__()
  
      def get_default_base_name(self, viewset):
          """
          If `base_name` is not specified, attempt to automatically determine
          it from the viewset.
          """
          queryset = getattr(viewset, 'queryset', None)
  
          assert queryset is not None, '`base_name` argument not specified, and could ' \
 
</s> remove         assert queryset is not None, '`base_name` argument not specified, and could ' \
 </s> add         assert queryset is not None, '`basename` argument not specified, and could ' \ </s> remove     def get_default_base_name(self, viewset):
 </s> add     def get_default_basename(self, viewset): </s> remove         If `base_name` is not specified, attempt to automatically determine
 </s> add         If `basename` is not specified, attempt to automatically determine </s> remove     def get_default_base_name(self, viewset):
 </s> add     def get_default_basename(self, viewset): </s> remove     def register(self, prefix, viewset, base_name=None):
        if base_name is None:
            base_name = self.get_default_base_name(viewset)
        self.registry.append((prefix, viewset, base_name))
 </s> add     def register(self, prefix, viewset, basename=None, base_name=None):
        if base_name is not None:
            msg = "The `base_name` argument has been deprecated in favor of `basename`."
            warnings.warn(msg, DeprecationWarning, 2)

        assert not (basename and base_name), (
            "Do not provide both the `basename` and `base_name` arguments.")

        if basename is None:
            basename = base_name

        if basename is None:
            basename = self.get_default_basename(viewset)
        self.registry.append((prefix, viewset, basename))
        If `basename` is not specified, attempt to automatically determine
          super(SimpleRouter, self).__init__()
  
      def get_default_base_name(self, viewset):
          """
        If `basename` is not specified, attempt to automatically determine
          it from the viewset.
          """
          queryset = getattr(viewset, 'queryset', None)
  
          assert queryset is not None, '`base_name` argument not specified, and could ' \
keep keep keep keep replace keep keep keep keep keep
 Rename base_name => basename for consistency's sake (#5990)

* Rename base_name => basename for consistency

* Update tests to use basename 
rest_framework/routers.py