- from django.urls import path
- from hc.accounts import views
-
- urlpatterns = [
- path('login/', views.login, name="hc-login"),
- path('logout/', views.logout, name="hc-logout"),
- path('login_link_sent/',
- views.login_link_sent, name="hc-login-link-sent"),
-
- path('link_sent/',
- views.link_sent, name="hc-link-sent"),
-
- path('check_token/<slug:username>/<slug:token>/',
- views.check_token, name="hc-check-token"),
-
- path('profile/', views.profile, name="hc-profile"),
- path('profile/notifications/', views.notifications, name="hc-notifications"),
- path('profile/badges/', views.badges, name="hc-badges"),
- path('close/', views.close, name="hc-close"),
-
- path('unsubscribe_reports/<str:username>/',
- views.unsubscribe_reports, name="hc-unsubscribe-reports"),
-
- path('set_password/<slug:token>/',
- views.set_password, name="hc-set-password"),
-
- path('change_email/done/',
- views.change_email_done, name="hc-change-email-done"),
-
- path('change_email/<slug:token>/',
- views.change_email, name="hc-change-email"),
-
- path('switch_team/<slug:target_username>/',
- views.switch_team, name="hc-switch-team"),
-
- ]
|