from django.urls import path from .views import DictionaryListView, DictionaryDetailView, dictionary_grouped urlpatterns = [ path('', DictionaryListView.as_view(), name='dictionary-list'), path('grouped/', dictionary_grouped, name='dictionary-grouped'), path('/', DictionaryDetailView.as_view(), name='dictionary-detail'), ]