text: from django.urls import path
  
  from .views import BaseView, ProductDetailView, CategoryDetailView, FavoritesView, AddToFavoritesView
  
  urlpatterns = [
      path('', BaseView.as_view(), name='base'),
      path('products/<str:ct_model>/<str:slug>/', ProductDetailView.as_view(), name='product_detail'),
      path('category/<str:slug>/', CategoryDetailView.as_view(), name='category_detail'),
      path('favorites/', FavoritesView.as_view(), name='favorites'),
      path('add-to-favorites/<str:ct_model>/<str:slug>/', AddToFavoritesView.as_view(), name='add-to-favorites'),
  ]
  