35379-vm/core/urls.py
Flatlogic Bot 235f0a8a83 Version3
2025-10-31 17:00:04 +00:00

20 lines
991 B
Python

from django.urls import path
from .views import index, signup_view, login_view, logout_view, property_detail, property_create, booking_create, profile, about, contact, faq, property_update, property_delete
urlpatterns = [
path("", index, name="index"),
path("property/<int:property_id>/", property_detail, name="property_detail"),
path("signup/", signup_view, name="signup"),
path("login/", login_view, name="login"),
path("logout/", logout_view, name="logout"),
path("property/create/", property_create, name="property_create"),
path("property/<int:property_id>/book/", booking_create, name="booking_create"),
path("profile/", profile, name="profile"),
path("about/", about, name="about"),
path("contact/", contact, name="contact"),
path("faq/", faq, name="faq"),
path("property/<int:property_id>/update/", property_update, name="property_update"),
path("property/<int:property_id>/delete/", property_delete, name="property_delete"),
]