nuitdelinfo_2021/boat/urls.py

12 lines
352 B
Python
Raw Normal View History

2021-12-03 04:52:09 +01:00
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")
]