  from django.utils.decorators import classonlymethod
  from django.views.decorators.csrf import csrf_exempt
  
  from rest_framework import generics, mixins, views
  
  
  class ViewSetMixin(object):
      """
 
</s> remove from django.test import TestCase
 </s> add from django.conf.urls import include, url
from django.db import models
from django.test import TestCase, override_settings
from rest_framework.reverse import reverse
  from django.utils.decorators import classonlymethod
  from django.views.decorators.csrf import csrf_exempt
  
  from rest_framework import generics, mixins, views
from rest_framework.reverse import reverse
  
  
  class ViewSetMixin(object):
      """
keep keep keep add keep keep keep keep
 Add '.basename' and '.reverse_action()' to ViewSet (#5648)

* Router sets 'basename' on ViewSet

* Add 'ViewSet.reverse_action()' method

* Test router setting initkwargs 
rest_framework/viewsets.py