2018-11-11 12:41:48 +00:00
|
|
|
"""passbook URL Configuration"""
|
2018-11-16 12:08:37 +00:00
|
|
|
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'),
|
|
|
|
path('applications/', applications.ApplicationListView.as_view(),
|
2018-11-16 12:08:37 +00:00
|
|
|
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'),
|
|
|
|
path('sources/', sources.SourceListView.as_view(),
|
|
|
|
name='sources'),
|
|
|
|
path('sources/create/', sources.SourceCreateView.as_view(),
|
|
|
|
name='source-create'),
|
|
|
|
path('sources/<uuid:pk>/', sources.SourceUpdateView.as_view(),
|
|
|
|
name='source-update'),
|
|
|
|
# path('api/v1/', include('passbook.admin.api.v1.urls'))
|
2018-11-11 12:41:48 +00:00
|
|
|
]
|