1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

20 lines
901 B
Python
Raw Normal View History

2019-05-26 14:38:27 +02:00
from django.urls import path
2016-03-01 11:23:03 -05:00
from . import views
app_name = 'user'
2016-03-01 11:23:03 -05:00
urlpatterns = [
2016-05-18 16:35:35 -04:00
path('profile/', views.ProfileView.as_view(), name='profile'),
path('preferences/', views.UserConfigView.as_view(), name='preferences'),
path('password/', views.ChangePasswordView.as_view(), name='change_password'),
path('api-tokens/', views.TokenListView.as_view(), name='token_list'),
path('api-tokens/add/', views.TokenEditView.as_view(), name='token_add'),
path('api-tokens/<int:pk>/edit/', views.TokenEditView.as_view(), name='token_edit'),
path('api-tokens/<int:pk>/delete/', views.TokenDeleteView.as_view(), name='token_delete'),
path('user-key/', views.UserKeyView.as_view(), name='userkey'),
path('user-key/edit/', views.UserKeyEditView.as_view(), name='userkey_edit'),
path('session-key/delete/', views.SessionKeyDeleteView.as_view(), name='sessionkey_delete'),
2016-05-18 16:35:35 -04:00
2016-03-01 11:23:03 -05:00
]