old_contents: import ui.views
  import django.views.static
  
  from django.conf import settings
  from django.conf.urls import include, url
  from django.contrib import admin
  from django.contrib.sitemaps.views import sitemap
  from people.views import UserProfileView, UserProfileUpdateView
  from project.sitemaps import sitemaps
  
  handler404 = 'ui.views.custom_404'
  
  urlpatterns = [
      url(r'^$', ui.views.index, name="ui_index"),
      url(r'^team/$', ui.views.team, name="team"),
      url(r'^venue/$', ui.views.venue, name="venue"),
      url(r'^signup/success/$', ui.views.signup_success),
  
      url(r'^admin/', admin.site.urls),
  
      # Account views
      url(r'^accounts/', include('allauth.urls')),
      url(r'^accounts/profile/$', UserProfileView.as_view(), name='user_profile'),
      url(r'^accounts/profile/update/$', UserProfileUpdateView.as_view(), name='user_profile_update'),
  
      # Apps
      url(r'^cfp/', include('cfp.urls')),
      url(r'^dashboard/', include('dashboard.urls')),
      url(r'^jobs/', include('jobs.urls')),
      url(r'^news/', include('blog.urls')),
      url(r'^schedule/', include('schedule.urls')),
      url(r'^slack/', include('slack.urls')),
      url(r'^sponsors/', include('sponsors.urls')),
      url(r'^talks/', include('talks.urls')),
      url(r'^voting/', include('voting.urls')),
      url(r'^workshops/', include('workshops.urls')),
  
      url(r'^sitemap\.xml$', sitemap, {'sitemaps': sitemaps},
          name='django.contrib.sitemaps.views.sitemap'),
  ]
  
  if settings.DEBUG:
      urlpatterns += [
          url(r'^media/(?P<path>.*)$', django.views.static.serve,
              {'document_root': settings.MEDIA_ROOT}),
          url(r'^static/(?P<path>.*)$', django.views.static.serve,
              {'document_root': settings.STATIC_ROOT}),
      ]
  
      import debug_toolbar
      urlpatterns = [
          url(r'^__debug__/', include(debug_toolbar.urls)),
      ] + urlpatterns
  
new_contents: import ui.views
  import django.views.static
  
  from django.conf import settings
  from django.conf.urls import include, url
  from django.contrib import admin
  from django.contrib.sitemaps.views import sitemap
  from people.views import UserProfileView, UserProfileUpdateView
  from project.sitemaps import sitemaps
  
  handler404 = 'ui.views.custom_404'
  
  urlpatterns = [
      url(r'^$', ui.views.index, name="ui_index"),
      url(r'^team/$', ui.views.team, name="team"),
      url(r'^venue/$', ui.views.venue, name="venue"),
      url(r'^signup/success/$', ui.views.signup_success),
  
      url(r'^admin/', admin.site.urls),
  
      # Account views
      url(r'^accounts/', include('allauth.urls')),
      url(r'^accounts/profile/$', UserProfileView.as_view(), name='user_profile'),
      url(r'^accounts/profile/update/$', UserProfileUpdateView.as_view(), name='user_profile_update'),
  
      # Apps
      url(r'^cfp/', include('cfp.urls')),
      url(r'^dashboard/', include('dashboard.urls')),
      url(r'^jobs/', include('jobs.urls')),
      url(r'^news/', include('blog.urls')),
      url(r'^schedule/', include('schedule.urls')),
      url(r'^slack/', include('slack.urls')),
      url(r'^sponsors/', include('sponsors.urls')),
      url(r'^talks/', include('talks.urls')),
      url(r'^voting/', include('voting.urls')),
      url(r'^workshops/', include('workshops.urls')),
  
      url(r'^sitemap\.xml$', sitemap, {'sitemaps': sitemaps},
          name='django.contrib.sitemaps.views.sitemap'),
  ]
  
  if settings.DEBUG:
      import debug_toolbar
      urlpatterns = [
          url(r'^__debug__/', include(debug_toolbar.urls)),
      ] + urlpatterns
  
subject: Remove unused debug urlpatterns