          url(r'^(?P<pk>\d+)/$', FilterClassDetailView.as_view(), name='detail-view'),
          url(r'^$', FilterClassRootView.as_view(), name='root-view'),
          url(r'^get-queryset/$', GetQuerysetView.as_view(),
              name='get-queryset-view'),
      )
  
  
  class CommonFilteringTestCase(TestCase):
      def _serialize_object(self, obj):
          return {'id': obj.id, 'text': obj.text, 'decimal': str(obj.decimal), 'date': obj.date.isoformat()}
 
</s> remove     urlpatterns = patterns(
        '',
 </s> add     urlpatterns = [ </s> remove urlpatterns = patterns(
    '',
 </s> add urlpatterns = [ </s> remove )
 </s> add ] </s> remove )
 </s> add ] </s> remove )
 </s> add ]
    ]
          url(r'^(?P<pk>\d+)/$', FilterClassDetailView.as_view(), name='detail-view'),
          url(r'^$', FilterClassRootView.as_view(), name='root-view'),
          url(r'^get-queryset/$', GetQuerysetView.as_view(),
              name='get-queryset-view'),
    ]
  
  
  class CommonFilteringTestCase(TestCase):
      def _serialize_object(self, obj):
          return {'id': obj.id, 'text': obj.text, 'decimal': str(obj.decimal), 'date': obj.date.isoformat()}
keep keep keep keep replace keep keep keep keep keep
 Remove `django.conf.urls.pattern` as it'll be removed in Django 2.0 
tests/test_filters.py