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

20 lines
844 B
Python
Raw Normal View History

2016-03-01 11:23:03 -05:00
from django.conf.urls import url
from . import views
2016-05-18 16:35:35 -04:00
2016-03-01 11:23:03 -05:00
urlpatterns = [
2016-05-18 16:35:35 -04:00
# User profiles
2016-03-01 11:23:03 -05:00
url(r'^profile/$', views.profile, name='profile'),
url(r'^profile/password/$', views.change_password, name='change_password'),
2017-03-08 11:34:47 -05:00
url(r'^profile/api-tokens/$', views.TokenListView.as_view(), name='token_list'),
url(r'^profile/api-tokens/add/$', views.TokenEditView.as_view(), name='token_add'),
url(r'^profile/api-tokens/(?P<pk>\d+)/edit/$', views.TokenEditView.as_view(), name='token_edit'),
url(r'^profile/api-tokens/(?P<pk>\d+)/delete/$', views.TokenDeleteView.as_view(), name='token_delete'),
2016-03-01 11:23:03 -05:00
url(r'^profile/user-key/$', views.userkey, name='userkey'),
url(r'^profile/user-key/edit/$', views.userkey_edit, name='userkey_edit'),
2016-05-24 09:45:40 -04:00
url(r'^profile/recent-activity/$', views.recent_activity, name='recent_activity'),
2016-05-18 16:35:35 -04:00
2016-03-01 11:23:03 -05:00
]