from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('mylicenses/', views.LicenseViewOwn.as_view(), name='my-licenses'), path('givenlicenses/', views.LicenseViewGiven.as_view(), name='given-licenses'), path('license//create/', views.create_license, name='create-license'), path('license/show//own/', views.get_license_details, name='license-detail-own'), path('license/show//given/', views.get_license_details, name='license-detail-given'), ]