Telegram
- 2 ответа
- 0 вопросов
1
Вклад в тег
urlpatterns = [
path('', include('core.urls')),
path('', include('catalog.urls')),
]
urlpatterns = [
path('catalog/', СatalogIndexPageView.as_view(), name="catalog"),
path('category/<slug:cat_slug>/', СatalogPageView.as_view(), name="catalog-list"),
]
<a href="{% url 'catalog' %}">Каталог</a>