You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.2 KiB

10 years ago
10 years ago
  1. from django.urls import path
  2. from hc.accounts import views
  3. urlpatterns = [
  4. path('login/', views.login, name="hc-login"),
  5. path('logout/', views.logout, name="hc-logout"),
  6. path('signup/', views.signup, name="hc-signup"),
  7. path('login_link_sent/',
  8. views.login_link_sent, name="hc-login-link-sent"),
  9. path('link_sent/',
  10. views.link_sent, name="hc-link-sent"),
  11. path('check_token/<slug:username>/<slug:token>/',
  12. views.check_token, name="hc-check-token"),
  13. path('profile/', views.profile, name="hc-profile"),
  14. path('profile/notifications/', views.notifications, name="hc-notifications"),
  15. path('profile/badges/', views.badges, name="hc-badges"),
  16. path('close/', views.close, name="hc-close"),
  17. path('unsubscribe_reports/<str:username>/',
  18. views.unsubscribe_reports, name="hc-unsubscribe-reports"),
  19. path('set_password/<slug:token>/',
  20. views.set_password, name="hc-set-password"),
  21. path('change_email/done/',
  22. views.change_email_done, name="hc-change-email-done"),
  23. path('change_email/<slug:token>/',
  24. views.change_email, name="hc-change-email"),
  25. path('switch_team/<slug:target_username>/',
  26. views.switch_team, name="hc-switch-team"),
  27. ]