slugify service

This commit is contained in:
Tobias Brunner 2025-01-27 17:00:56 +01:00
parent 483f076d1a
commit 273e417da2
No known key found for this signature in database
8 changed files with 79 additions and 15 deletions

View file

@ -5,8 +5,8 @@ app_name = "services"
urlpatterns = [
path("", views.service_list, name="service_list"),
path("service/<int:pk>/", views.service_detail, name="service_detail"),
path("service/<int:service_id>/interest/", views.create_lead, name="create_lead"),
path("service/<int:service_id>/thank-you/", views.thank_you, name="thank_you"),
path("service/<slug:slug>/", views.service_detail, name="service_detail"),
path("service/<slug:slug>/interest/", views.create_lead, name="create_lead"),
path("service/<slug:slug>/thank-you/", views.thank_you, name="thank_you"),
path("provider/<slug:slug>/", views.provider_detail, name="provider_detail"),
]