This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/passbook/admin/urls.py

23 lines
1.1 KiB
Python
Raw Normal View History

2018-11-11 12:41:48 +00:00
"""passbook URL Configuration"""
from django.urls import path
2018-11-11 12:41:48 +00:00
2018-11-16 08:10:35 +00:00
from passbook.admin.views import applications, overview, sources
2018-11-11 12:41:48 +00:00
urlpatterns = [
2018-11-16 08:10:35 +00:00
path('', overview.AdministrationOverviewView.as_view(), name='overview'),
2018-11-26 21:08:18 +00:00
# Applications
2018-11-16 08:10:35 +00:00
path('applications/', applications.ApplicationListView.as_view(),
name='applications'),
2018-11-11 12:41:48 +00:00
path('applications/create/', applications.ApplicationCreateView.as_view(),
2018-11-16 08:10:35 +00:00
name='application-create'),
2018-11-26 21:08:18 +00:00
path('applications/<uuid:pk>/update/',
applications.ApplicationUpdateView.as_view(), name='application-update'),
path('applications/<uuid:pk>/delete/',
applications.ApplicationDeleteView.as_view(), name='application-delete'),
2018-11-22 12:11:46 +00:00
path('sources/', sources.SourceListView.as_view(), name='sources'),
path('sources/create/', sources.SourceCreateView.as_view(), name='source-create'),
path('sources/<uuid:pk>/update/', sources.SourceUpdateView.as_view(), name='source-update'),
path('sources/<uuid:pk>/delete/', sources.SourceDeleteView.as_view(), name='source-delete'),
2018-11-16 08:10:35 +00:00
# path('api/v1/', include('passbook.admin.api.v1.urls'))
2018-11-11 12:41:48 +00:00
]