|
1
|
from django.urls import path |
|
2
|
|
|
3
|
from . import views |
|
4
|
|
|
5
|
app_name = "accounts" |
|
6
|
|
|
7
|
urlpatterns = [ |
|
8
|
path("login/", views.login_view, name="login"), |
|
9
|
path("logout/", views.logout_view, name="logout"), |
|
10
|
path("ssh-keys/", views.ssh_keys, name="ssh_keys"), |
|
11
|
path("ssh-keys/<int:pk>/delete/", views.ssh_key_delete, name="ssh_key_delete"), |
|
12
|
path("notifications/", views.notification_preferences, name="notification_prefs"), |
|
13
|
# Unified profile |
|
14
|
path("profile/", views.profile, name="profile"), |
|
15
|
path("profile/edit/", views.profile_edit, name="profile_edit"), |
|
16
|
path("profile/tokens/create/", views.profile_token_create, name="profile_token_create"), |
|
17
|
path("profile/tokens/<str:guid>/revoke/", views.profile_token_revoke, name="profile_token_revoke"), |
|
18
|
] |
|
19
|
|