old_contents: from django.conf.urls import patterns, include, url
  from django.contrib import admin
  from django.views.decorators.cache import cache_page
  from .firecares_core.forms import FirecaresPasswordResetForm
  from .firestation.views import Home
  from .firecares_core.views import ForgotUsername, UsernameSent
  from .firestation.api import StaffingResource, FireStationResource
  from tastypie.api import Api
  from firestation.views import Home
  
  admin.autodiscover()
  v1_api = Api(api_name='v1')
  v1_api.register(StaffingResource())
  v1_api.register(FireStationResource())
  
  
  urlpatterns = patterns('',
      # Examples:
      url(r'^$', cache_page(60*15)(Home.as_view()), name='firestation_home'),
      url(r'^', include('firecares.firestation.urls')),
      (r'^api/', include(v1_api.urls)),
      (r'^accounts/', include('registration.backends.default.urls')),
      url(r'^login/$', 'django.contrib.auth.views.login', name='login', kwargs={'template_name': 'accounts/login.html'}),
      url(r'^password_reset/$', 'django.contrib.auth.views.password_reset',
          name='password_reset',
          kwargs={'template_name': 'registration/password/password_reset_form.html',
                  'password_reset_form': FirecaresPasswordResetForm}),
      url(r'^password_reset/done/$', 'django.contrib.auth.views.password_reset_done',
          name='password_reset_done',
          kwargs={'template_name': 'registration/password/password_reset_done.html'}),
      url(r'^password_reset/confirm/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})$',
          'django.contrib.auth.views.password_reset_confirm', name='password_reset_confirm',
          kwargs={'template_name': 'registration/password/password_reset_confirm.html'}),
      url(r'^password_reset/complete/$', 'django.contrib.auth.views.password_reset_complete',
          name='password_reset_complete', kwargs={'template_name': 'registration/password/password_reset_complete.html'}),
      url(r'^forgot_username/$', ForgotUsername.as_view(), name='forgot_username'),
      url(r'^username_sent/$', UsernameSent.as_view(), name='username_sent'),
      url(r'^logout/$', 'django.contrib.auth.views.logout_then_login', name='logout'),
      url(r'^admin/', include(admin.site.urls)),
      url(r'^autocomplete/', include('autocomplete_light.urls')),
  )
  
new_contents: from django.conf.urls import patterns, include, url
  from django.contrib import admin
  from django.views.decorators.cache import cache_page
  from .firecares_core.forms import FirecaresPasswordResetForm
  from .firestation.views import Home
  from .firecares_core.views import ForgotUsername, UsernameSent
  from .firestation.api import StaffingResource, FireStationResource
  from tastypie.api import Api
  from firestation.views import Home
  
  admin.autodiscover()
  v1_api = Api(api_name='v1')
  v1_api.register(StaffingResource())
  v1_api.register(FireStationResource())
  
  
  urlpatterns = patterns('',
      # Examples:
      url(r'^$', cache_page(60*15)(Home.as_view()), name='firestation_home'),
      url(r'^', include('firecares.firestation.urls')),
      (r'^api/', include(v1_api.urls)),
      (r'^accounts/', include('registration.backends.default.urls')),
      url(r'^login/$', 'django.contrib.auth.views.login', name='login', kwargs={'template_name': 'accounts/login.html'}),
      url(r'^password-reset/$', 'django.contrib.auth.views.password_reset',
          name='password_reset',
          kwargs={'template_name': 'registration/password/password_reset_form.html',
                  'password_reset_form': FirecaresPasswordResetForm}),
      url(r'^password-reset/done/$', 'django.contrib.auth.views.password_reset_done',
          name='password_reset_done',
          kwargs={'template_name': 'registration/password/password_reset_done.html'}),
      url(r'^password-reset/confirm/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})$',
          'django.contrib.auth.views.password_reset_confirm', name='password_reset_confirm',
          kwargs={'template_name': 'registration/password/password_reset_confirm.html'}),
      url(r'^password-reset/complete/$', 'django.contrib.auth.views.password_reset_complete',
          name='password_reset_complete', kwargs={'template_name': 'registration/password/password_reset_complete.html'}),
      url(r'^forgot-username/$', ForgotUsername.as_view(), name='forgot_username'),
      url(r'^forgot-username/done/$', UsernameSent.as_view(), name='username_sent'),
      url(r'^logout/$', 'django.contrib.auth.views.logout_then_login', name='logout'),
      url(r'^admin/', include(admin.site.urls)),
      url(r'^autocomplete/', include('autocomplete_light.urls')),
  )
  
subject: Use dashes vs underscores in url routes.