from django.urls import path, re_path from . import 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.EntryDetailViewTXT.as_view(), name="detail-txt" ), path( r'', views.EntryDetailView.as_view(), name="detail" ), path( r'', views.SrcListView.as_view(), name="list", ), ]