from django.urls import path from .views import template_list, template_detail urlpatterns = [ path('', template_list, name='template-list'), path('/', template_detail, name='template-detail'), ]