
from django.urls import path
from . import views

urlpatterns = [
   path('', views.inicio, name='inicio'),
   path('comprar/', views.comprar, name='comprar'),
   path('comprar/location/<slug:location_slug>/', views.comprar, name='properties_by_location_comprar'),
   path('rentar/', views.rentar, name='rentar'),
   path('rentar/location/<slug:location_slug>/', views.rentar, name='properties_by_location_rentar'),
   path('detalle/<slug:category_slug>/<slug:property_slug>/', views.property_detail, name='property_detail'),
]

