nuitdelinfo_2021/boat/urls.py
2021-12-03 04:52:09 +01:00

11 lines
352 B
Python

from django.urls import path
from . import views
urlpatterns = [
path("", views.index, name='index'),
path("<int:boat_id>/", views.details, name='details'),
path("submit/", views.submit, name="submit"),
path("edit/<int:boat_id>/", views.edit, name="edit"),
path("ajax/search/<str:text>/", views.ajax_search, name="ajax_search")
]