old_contents: """mobiauth URL Configuration
  
  The `urlpatterns` list routes URLs to views. For more information please see:
      https://docs.djangoproject.com/en/1.9/topics/http/urls/
  Examples:
  Function views
      1. Add an import:  from my_app import views
      2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
  Class-based views
      1. Add an import:  from other_app.views import Home
      2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
  Including another URLconf
      1. Import the include() function: from django.conf.urls import url, include
      2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
  """
  from django.conf.urls import url, include
  from django.contrib import admin
  from . import settings
  from apps.userprofile.views import api_root, OrganizationList, OrganizationDetail, ApplicationList, ApplicationDetail
  from apps.continiousauth.views import AuthenticationSessionList
  
  userprofile_api_urls = [
      url(r'^$', api_root),
      url(r'^organizations/$', OrganizationList.as_view(), name='organization_list'),
      url(r'^organizations/(?P<pk>[0-9]+)$', OrganizationDetail.as_view()),
      url(r'^applications/$', ApplicationList.as_view(), name='application_list'),
      url(r'^applications/(?P<pk>[0-9]+)$', ApplicationDetail.as_view()),
      url(r'^authentication/$', AuthenticationSessionList, name='authentication_session_list'),
  ]
  
  urlpatterns = [
      # App urls
      url(r'^', include('apps.userprofile.urls')),
      url(r'^auth/', include('apps.authentication.urls')),
      # Administration urls
      url(r'^admin/', admin.site.urls),
      url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
      # Api urls
      url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
      url(r'^api/', include(userprofile_api_urls)),
  
  ]
  
new_contents: """mobiauth URL Configuration
  
  The `urlpatterns` list routes URLs to views. For more information please see:
      https://docs.djangoproject.com/en/1.9/topics/http/urls/
  Examples:
  Function views
      1. Add an import:  from my_app import views
      2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
  Class-based views
      1. Add an import:  from other_app.views import Home
      2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
  Including another URLconf
      1. Import the include() function: from django.conf.urls import url, include
      2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
  """
  from django.conf.urls import url, include
  from django.contrib import admin
  from . import settings
  from apps.userprofile.views import api_root, OrganizationList, OrganizationDetail, ApplicationList, ApplicationDetail
  #from apps.continiousauth.views import AuthenticationSessionList
  
  userprofile_api_urls = [
      url(r'^$', api_root),
      url(r'^organizations/$', OrganizationList.as_view(), name='organization_list'),
      url(r'^organizations/(?P<pk>[0-9]+)$', OrganizationDetail.as_view()),
      url(r'^applications/$', ApplicationList.as_view(), name='application_list'),
      url(r'^applications/(?P<pk>[0-9]+)$', ApplicationDetail.as_view()),
      #url(r'^authentication/$', AuthenticationSessionList, name='authentication_session_list'),
  ]
  
  urlpatterns = [
      # App urls
      url(r'^', include('apps.userprofile.urls')),
      url(r'^auth/', include('apps.authentication.urls')),
      # Administration urls
      url(r'^admin/', admin.site.urls),
      url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
      # Api urls
      url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
      url(r'^api/', include(userprofile_api_urls)),
  
  ]
  
subject: Remove broken url