from django.urls import path, re_path from ..views import film_views as views app_name = "film" urlpatterns = [ path( r'', views.FilmDetailView.as_view(), name="detail" ), path( r'/', views.FilmListView.as_view(), name="list" ), path( r'', views.FilmListView.as_view(), {'page':1}, name="list" ), ]