from django.urls import path from . import views urlpatterns = [ path('', views.IndexView.as_view(), name='log_index'), path( '////', views.EntriesView.as_view(), name='log_day' ), path( 'switch/source//', views.switch_source, name='log_switch_source' ), path( 'switch/entry//', views.switch_entry, name='log_switch_entry' ), path('search/', views.search_view, name='log_search'), ]