9 lines
361 B
Python
9 lines
361 B
Python
from django.urls import path
|
|
from django.contrib.auth.decorators import permission_required
|
|
from django_coreprotect.views import Home, Query
|
|
|
|
urlpatterns = [
|
|
path('', permission_required('coreprotect_base')(Home.as_view()), name="coreprotect_index"),
|
|
path('query/', permission_required('coreprotect_base')(Query.as_view()), name="coreprotect_query"),
|
|
]
|