django_coreprotect/urls.py

8 lines
224 B
Python

from django.urls import path
from django.contrib.auth.decorators import permission_required
from django_coreprotect.views import Home
urlpatterns = [
path('', permission_required('coreprotect_base')(Home.as_view())),
]