from django.urls import path, re_path from . import views app_name = "podcasts" urlpatterns = [ re_path( r'/', views.PodcastListView.as_view(), name="list" ), path( r'/', views.PodcastListView.as_view(), {'page':1}, name="list" ), path( r'/episode/', views.PodcastDetailView.as_view(), name="detail" ), ]