from django.urls import path from . import views urlpatterns = [ path("", views.index, name='index'), path("/", views.details, name='details'), path("submit/", views.submit, name="submit"), path("edit//", views.edit, name="edit"), path("ajax/search//", views.ajax_search, name="ajax_search") ]