old_contents: from django.conf import settings
  from django.conf.urls import patterns, include, url
  from django.contrib import admin
  from django.contrib.staticfiles.urls import staticfiles_urlpatterns
  from django.views.generic import TemplateView
  
  # See: https://docs.djangoproject.com/en/dev/ref/contrib/admin/#hooking-adminsite-instances-into-your-urlconf
  admin.autodiscover()
  
  urlpatterns = patterns('',
      url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
      url(r'^admin/', include(admin.site.urls)),
  
      (r'^robots.txt$', include('robots.urls')),
  
      (r'^/?$', TemplateView.as_view(template_name='index.html')),
  )
  
  if settings.DEBUG:
      urlpatterns += patterns('',
          url(r'^account/', include('account.urls')),
      )
  
  urlpatterns += staticfiles_urlpatterns()
  
new_contents: from django.conf.urls import patterns, include, url
  from django.contrib import admin
  from django.contrib.staticfiles.urls import staticfiles_urlpatterns
  from django.views.generic import TemplateView
  
  # See: https://docs.djangoproject.com/en/dev/ref/contrib/admin/#hooking-adminsite-instances-into-your-urlconf
  admin.autodiscover()
  
  urlpatterns = patterns(
      '',
      url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
      url(r'^admin/', include(admin.site.urls)),
  
      (r'^robots.txt$', include('robots.urls')),
  
      (r'^/?$', TemplateView.as_view(template_name='index.html')),
  )
  
  urlpatterns += staticfiles_urlpatterns()
  
subject: Clean up urls.py.