  """
  from django.conf.urls import url, patterns
  from rest_framework.decorators import api_view
  from rest_framework.response import Response
  from rest_framework.reverse import reverse
  from rest_framework.viewsets import ModelViewSet
 
</s> remove             '{basename}-{methodname}'
 </s> add             '{basename}-{methodnamehyphen}' </s> remove                         name_format.replace('{methodname}', methodname),
 </s> add                         replace_methodname(name_format, methodname), </s> remove                         url_format.replace('{methodname}', methodname),
 </s> add                         replace_methodname(url_format, methodname),
from django.db import models
  """
  from django.conf.urls import url, patterns
from django.db import models
  from rest_framework.decorators import api_view
  from rest_framework.response import Response
  from rest_framework.reverse import reverse
  from rest_framework.viewsets import ModelViewSet
keep add keep keep keep keep
 Added AutoRouter.  Don't know if this is a good idea. 
rest_framework/routers.py