16 lines
494 B
Python
16 lines
494 B
Python
"""Collection common urlpaths."""
|
|
from django.urls import path
|
|
|
|
from collection.views import common as views
|
|
|
|
app_name = 'collection'
|
|
|
|
urlpatterns = [
|
|
path('', views.CollectionHomePageView.as_view(), name='list'),
|
|
path('<slug:slug>/establishments/', views.CollectionEstablishmentListView.as_view(),
|
|
name='detail'),
|
|
|
|
path('guides/', views.GuideListView.as_view(), name='guides-list'),
|
|
path('guides/<int:pk>/', views.GuideRetrieveView.as_view(), name='guides-detail'),
|
|
]
|