from django.urls import path, re_path from ..views import src_views as views app_name = "src" urlpatterns = [ path( r'feed.xml', views.SrcRSSFeedView(), name="feed" ), path( r'topic/', views.TopicListView.as_view(), name="list_topics" ), #path( # r'books/', # views.BookDetailView.as_view(), # name='detail_book' #), #path( # r'books/', # views.BookListView.as_view(), # name='list_books' #), path( r'.txt', views.SrcDetailViewTXT.as_view(), name="detail-txt" ), path( r'', views.SrcDetailView.as_view(), name="detail" ), re_path( r'', views.SrcListView.as_view(), name="list" ), path( r'', views.SrcListView.as_view(), {'page':1}, name="list" ), ]