from django.urls import path from . import views app_name = "publications" urlpatterns = [ path( r'', views.PubListView.as_view(), {'page': 1}, name="list" ), path( r'/', views.PubListView.as_view(), name="list" ), path( r'', views.PubsDetailView.as_view(), name="pub-detail" ), ]