2019-07-27 03:22:29 +00:00
|
|
|
from django.urls import path
|
|
|
|
from django.contrib.auth.decorators import permission_required
|
2019-08-14 21:56:05 +00:00
|
|
|
from django_coreprotect.views import Home, Query
|
2019-07-27 03:22:29 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
2019-08-14 21:56:05 +00:00
|
|
|
path('', permission_required('coreprotect_base')(Home.as_view()), name="coreprotect_index"),
|
|
|
|
path('query/', permission_required('coreprotect_base')(Query.as_view()), name="coreprotect_query"),
|
2019-07-27 03:22:29 +00:00
|
|
|
]
|