from django.urls import path from . import views urlpatterns = [ path('records/', views.BrowsingHistoryListCreateView.as_view(), name='history_list_create'), path('records//', views.BrowsingHistoryDeleteView.as_view(), name='history_delete'), path('records/clear/', views.BrowsingHistoryClearView.as_view(), name='history_clear'), ]