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.

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