old_contents: from django.conf.urls import url
  from django.contrib.auth import views as auth_views, forms as auth_forms
  
  from . import views
  
  urlpatterns = [
      url(r'^register$', views.register, name='register'),
      url(r'^login$', auth_views.login, {'extra_context': {'password_reset': auth_forms.PasswordResetForm()}},
          name='login'),
      url(r'^home$', views.home, name='home'),
      url(r'^settings$', views.settings, name='settings'),
      url(r'^logout$', auth_views.logout, {'next_page': '/'}, name='logout'),
      url(r'^user/(?P<username>[\w\d.-]+)$', views.user, name='user'),
  
      url(r'^reset-password/done$', views.password_reset_done, name='password_reset_done'),
      url(r'^reset-password$', auth_views.password_reset, name='password_reset'),
      url(r'^reset-password/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})$',
          views.password_reset_confirm, name='password_reset_confirm'),
      url(r'^reset-password/complete$', views.password_reset_complete, name='password_reset_complete'),
  
      url(r'^fefu$', views.fefu_send_mail, name='fefu_send_mail'),
      url(r'^fefu/(?P<token>[0-9A-z]{32})$', views.fefu_from_mail, name='fefu_from_mail'),
  
      url(r'^transaction/all$', views.TransactionFilterView.as_view(), name='transaction_all'),
      url(r'^transaction/create$', views.transaction_create, name='transaction_create'),
      url(r'^transaction/(?P<pk>[0-9]+)$', views.transaction, name='transaction'),
  
      url(r'^task/all$', views.TaskListView.as_view(), name='task_all'),
      url(r'^task/create$', views.task_edit, name='task_create'),
      url(r'^task/(?P<pk>[0-9]+)$', views.task, name='task'),
      url(r'^task/(?P<pk>[0-9]+)/edit$', views.task_edit, name='task_edit'),
  
      url(r'^$', views.index, name='index'),
  ]
  
new_contents: from django.conf.urls import url
  from django.contrib.auth import views as auth_views, forms as auth_forms
  
  from . import views
  
  urlpatterns = [
      url(r'^register$', views.register, name='register'),
      url(r'^login$', auth_views.login, {'extra_context': {'password_reset': auth_forms.PasswordResetForm()}},
          name='login'),
      url(r'^home$', views.home, name='home'),
      url(r'^settings$', views.settings, name='settings'),
      url(r'^logout$', auth_views.logout, {'next_page': '/'}, name='logout'),
      url(r'^user/(?P<username>[\w.@+-]+)$', views.user, name='user'),
  
      url(r'^reset-password/done$', views.password_reset_done, name='password_reset_done'),
      url(r'^reset-password$', auth_views.password_reset, name='password_reset'),
      url(r'^reset-password/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})$',
          views.password_reset_confirm, name='password_reset_confirm'),
      url(r'^reset-password/complete$', views.password_reset_complete, name='password_reset_complete'),
  
      url(r'^fefu$', views.fefu_send_mail, name='fefu_send_mail'),
      url(r'^fefu/(?P<token>[0-9A-z]{32})$', views.fefu_from_mail, name='fefu_from_mail'),
  
      url(r'^transaction/all$', views.TransactionFilterView.as_view(), name='transaction_all'),
      url(r'^transaction/create$', views.transaction_create, name='transaction_create'),
      url(r'^transaction/(?P<pk>[0-9]+)$', views.transaction, name='transaction'),
  
      url(r'^task/all$', views.TaskListView.as_view(), name='task_all'),
      url(r'^task/create$', views.task_edit, name='task_create'),
      url(r'^task/(?P<pk>[0-9]+)$', views.task, name='task'),
      url(r'^task/(?P<pk>[0-9]+)/edit$', views.task_edit, name='task_edit'),
  
      url(r'^$', views.index, name='index'),
  ]
  
subject: Fix regex for user url