from django.urls import path

from .views import (
    add_location_property,
    add_photo_property,
    flag_property,
    home,
    onboarding,
    property_detail,
    property_list,
    suggest_property_update,
)

urlpatterns = [
    path("", home, name="home"),
    path("onboarding/", onboarding, name="onboarding"),
    path("properties/", property_list, name="property_list"),
    path("properties/add/location/", add_location_property, name="add_location_property"),
    path("properties/add/photo/", add_photo_property, name="add_photo_property"),
    path("properties/<int:pk>/", property_detail, name="property_detail"),
    path("properties/<int:pk>/suggest/", suggest_property_update, name="suggest_property_update"),
    path("properties/<int:pk>/flag/", flag_property, name="flag_property"),
]
