  regex_url_path_router.register(r'', RegexUrlPathViewSet, base_name='regex')
  
  urlpatterns = [
      url(r'^non-namespaced/', include(namespaced_router.urls)),
      url(r'^namespaced/', include(namespaced_router.urls, namespace='example', app_name='example')),
      url(r'^example/', include(notes_router.urls)),
      url(r'^example2/', include(kwarged_notes_router.urls)),
  
      url(r'^empty-prefix/', include(empty_prefix_urls)),
      url(r'^regex/', include(regex_url_path_router.urls))
 
</s> remove         url(r'^nested/', include(nested, namespace='nested-namespace', app_name='nested-namespace'))
 </s> add         url(r'^nested/', include((nested, 'nested-namespace'), namespace='nested-namespace')) </s> remove         url(r'^v1/', include(included, namespace='v1', app_name='restframeworkv1')),
        url(r'^v2/', include(included, namespace='v2', app_name='restframeworkv2')),
 </s> add         url(r'^v1/', include((included, 'restframeworkv1'), namespace='v1')),
        url(r'^v2/', include((included, 'restframeworkv2'), namespace='v2')), </s> remove         url(r'^v1/', include(included, namespace='v1', app_name='v1')),
 </s> add         url(r'^v1/', include((included, 'v1'), namespace='v1')), </s> remove         url(r'^v1/', include(included, namespace='v1', app_name='v1')),
        url(r'^v2/', include(included, namespace='v2', app_name='v2'))
 </s> add         url(r'^v1/', include((included, 'v1'), namespace='v1')),
        url(r'^v2/', include((included, 'v2'), namespace='v2')) </s> remove         detail_url_pattern = detail_route.regex.pattern
 </s> add         detail_url_pattern = get_regex_pattern(detail_route)
    url(r'^namespaced/', include((namespaced_router.urls, 'example'), namespace='example')),
  regex_url_path_router.register(r'', RegexUrlPathViewSet, base_name='regex')
  
  urlpatterns = [
      url(r'^non-namespaced/', include(namespaced_router.urls)),
    url(r'^namespaced/', include((namespaced_router.urls, 'example'), namespace='example')),
      url(r'^example/', include(notes_router.urls)),
      url(r'^example2/', include(kwarged_notes_router.urls)),
  
      url(r'^empty-prefix/', include(empty_prefix_urls)),
      url(r'^regex/', include(regex_url_path_router.urls))
keep keep keep keep replace keep keep keep keep keep
 Django 2.0a1 compat (#5503)

* Update remaing `include` calls

Missed as part of #5481 cleanup.

* Provide app_name in include_docs_urls

* Update remaining get_regex_pattern usages

* Allow functools.partial in is_simple_callable check 
tests/test_routers.py