from django.urls import path, re_path from ..views import src_views as views from lttr import views as lttrviews app_name = "src" urlpatterns = [ path( r'feed.xml', views.SrcRSSFeedView(), name="feed" ), path( r'topic/', views.TopicListView.as_view(), name="list_topics" ), path( 'unsubscribe/', lttrviews.UnsubscribeRequestView.as_view(), name='newsletter_unsubscribe' ), path( r'subscribe/', lttrviews.NewsletterSubscribeView.as_view(slug='src'), name="subscribe" ), path( 'activate//', lttrviews.ConfirmSubscriptionView.as_view(), name='newsletter_activate' ), path( r'subscribed/', lttrviews.NewsletterSubscribedView.as_view(), name="subscribed" ), 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" ), ]