          url(r'^namespaced/(?P<pk>\d+)/$', dummy_pk_view, name='nested'),
      ]
      included = [
          url(r'^namespaced/(?P<pk>\d+)/$', dummy_pk_view, name='namespaced'),
          url(r'^nested/', include(nested, namespace='nested-namespace'))
      ]
  
      urlpatterns = [
          url(r'^v1/', include(included, namespace='v1', app_name='restframeworkv1')),
          url(r'^v2/', include(included, namespace='v2', app_name='restframeworkv2')),
 
</s> remove         url(r'^v1/', include(included, namespace='v1')),
        url(r'^v2/', include(included, namespace='v2'))
 </s> add         url(r'^v1/', include(included, namespace='v1', app_name='v1')),
        url(r'^v2/', include(included, namespace='v2', app_name='v2')) </s> remove         url(r'^v1/', include(included, namespace='v1')),
 </s> add         url(r'^v1/', include(included, namespace='v1', app_name='v1')), </s> remove     url(r'^namespaced/', include(namespaced_router.urls, namespace='example')),
 </s> add     url(r'^namespaced/', include(namespaced_router.urls, namespace='example', app_name='example')), </s> remove from rest_framework.compat import RegexURLResolver
 </s> add from rest_framework.compat import RegexURLResolver, include
        url(r'^nested/', include(nested, namespace='nested-namespace', app_name='nested-namespace'))
          url(r'^namespaced/(?P<pk>\d+)/$', dummy_pk_view, name='nested'),
      ]
      included = [
          url(r'^namespaced/(?P<pk>\d+)/$', dummy_pk_view, name='namespaced'),
        url(r'^nested/', include(nested, namespace='nested-namespace', app_name='nested-namespace'))
      ]
  
      urlpatterns = [
          url(r'^v1/', include(included, namespace='v1', app_name='restframeworkv1')),
          url(r'^v2/', include(included, namespace='v2', app_name='restframeworkv2')),
keep keep keep keep replace keep keep keep keep keep
 Fixed Django 2.0 compatibility due to `django.conf.urls.include` parameters change. (#4866) 
tests/test_versioning.py