from django.urls import path
from pagine.views import ListLocation, DetailLocation

urlpatterns = [
    path('', ListLocation.as_view(), name='locations'),
    path('<slug>/', DetailLocation.as_view(), name='location'),
    ]

c0fd1c5cef036659104956c8eb1b42c191c9ab74
<mask token>

<mask token>
urlpatterns = [path('', ListLocation.as_view(), name='locations'), path(
    '<slug>/', DetailLocation.as_view(), name='location')]

from django.urls import path
from pagine.views import ListLocation, DetailLocation
urlpatterns = [path('', ListLocation.as_view(), name='locations'), path(
    '<slug>/', DetailLocation.as_view(), name='location')]

from django.urls import path
from pagine.views import ListLocation, DetailLocation

urlpatterns = [
    path('', ListLocation.as_view(), name='locations'),
    path('<slug>/', DetailLocation.as_view(), name='location'),
    ]
