old_contents: from django.conf.urls.defaults import patterns, url, include
  from django.views.generic import TemplateView
  
  urlpatterns = patterns('',
      url(r'^register/$', 'registration.views.register',
          name='register'),
  
      url(r'^register/complete/$', TemplateView.as_view(template_name='registration/registration_complete.html'),
          name='registration-complete'),
  
      url(r'^verify/(?P<activation_key>\w+)/$', 'registration.views.verify',
          name='verify-registration'),
  
      url(r'^moderate/(?P<activation_key>\w+)/$', 'registration.views.moderate',
          name='moderate-registration'),
  
      url(r'^moderate/$', 'registration.views.moderate_list',
          name='moderate-registration-list'),
  
      url(r'^password/reset/', include(password_urls)),
  
      url(r'^login/$', 'django.contrib.auth.views.login', name='login'),
  
      url(r'^logout/$', 'django.contrib.auth.views.logout_then_login', name='logout'),
  )
  
new_contents: from django.conf.urls.defaults import patterns, url
  from django.views.generic import TemplateView
  
  urlpatterns = patterns(
      '',
      url(r'^register/$', 'registration.views.register', name='register'),
  
      url(
          r'^register/complete/$',
          TemplateView.as_view(
              template_name='registration/registration_complete.html'),
          name='registration-complete'),
  
      url(r'^verify/(?P<activation_key>\w+)/$', 'registration.views.verify',
          name='verify-registration'),
  
      url(r'^moderate/(?P<activation_key>\w+)/$', 'registration.views.moderate',
          name='moderate-registration'),
  
      url(r'^moderate/$', 'registration.views.moderate_list',
          name='moderate-registration-list'),
  
      url(r'^login/$', 'django.contrib.auth.views.login', name='login'),
  
      url(r'^logout/$', 'django.contrib.auth.views.logout_then_login',
          name='logout'),
  )
  
subject: Remove bad reference to password_urls