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.

36 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('login_link_sent/',
  7. views.login_link_sent, name="hc-login-link-sent"),
  8. path('link_sent/',
  9. views.link_sent, name="hc-link-sent"),
  10. path('check_token/<slug:username>/<slug:token>/',
  11. views.check_token, name="hc-check-token"),
  12. path('profile/', views.profile, name="hc-profile"),
  13. path('profile/notifications/', views.notifications, name="hc-notifications"),
  14. path('profile/badges/', views.badges, name="hc-badges"),
  15. path('close/', views.close, name="hc-close"),
  16. path('unsubscribe_reports/<str:username>/',
  17. views.unsubscribe_reports, name="hc-unsubscribe-reports"),
  18. path('set_password/<slug:token>/',
  19. views.set_password, name="hc-set-password"),
  20. path('change_email/done/',
  21. views.change_email_done, name="hc-change-email-done"),
  22. path('change_email/<slug:token>/',
  23. views.change_email, name="hc-change-email"),
  24. path('switch_team/<slug:target_username>/',
  25. views.switch_team, name="hc-switch-team"),
  26. ]