  
      def get(self, request, **kwargs):
          return Response('text')
  
  urlpatterns = patterns(
      '',
      url(r'^.*\.(?P<format>.+)$', MockView.as_view(renderer_classes=[RendererA, RendererB])),
      url(r'^$', MockView.as_view(renderer_classes=[RendererA, RendererB])),
      url(r'^cache$', MockGETView.as_view()),
      url(r'^parseerror$', MockPOSTView.as_view(renderer_classes=[JSONRenderer, BrowsableAPIRenderer])),
      url(r'^html$', HTMLView.as_view()),
 
</s> remove urlpatterns = patterns(
    '',
 </s> add urlpatterns = [ </s> remove )
 </s> add ] </s> remove )
 </s> add ] </s> remove     urlpatterns = patterns(
        '',
 </s> add     urlpatterns = [ </s> remove urlpatterns = patterns(
    '',
 </s> add urlpatterns = [
urlpatterns = [
  
      def get(self, request, **kwargs):
          return Response('text')
  
urlpatterns = [
urlpatterns = [
      url(r'^.*\.(?P<format>.+)$', MockView.as_view(renderer_classes=[RendererA, RendererB])),
      url(r'^$', MockView.as_view(renderer_classes=[RendererA, RendererB])),
      url(r'^cache$', MockGETView.as_view()),
      url(r'^parseerror$', MockPOSTView.as_view(renderer_classes=[JSONRenderer, BrowsableAPIRenderer])),
      url(r'^html$', HTMLView.as_view()),
keep keep keep keep replace replace keep keep keep keep keep
 Remove `django.conf.urls.pattern` as it'll be removed in Django 2.0 
tests/test_renderers.py