diff options
author | lxf <sng@luxagraf.net> | 2021-10-30 17:18:57 -0400 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2021-10-30 17:18:57 -0400 |
commit | 7b628e9cde7fe2babe16523b7d1d44df0c468203 (patch) | |
tree | d2303d4b6fb316ff32bf58c2afebc6fcd7f30a1e /app/posts/urls/src_urls.py | |
parent | 940da61accfd124a2dfc90fb585434203f39685b (diff) |
posts: made podcast posttype and templates
Diffstat (limited to 'app/posts/urls/src_urls.py')
-rw-r--r-- | app/posts/urls/src_urls.py | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/app/posts/urls/src_urls.py b/app/posts/urls/src_urls.py deleted file mode 100644 index 637d9a6..0000000 --- a/app/posts/urls/src_urls.py +++ /dev/null @@ -1,49 +0,0 @@ -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/<str:slug>', - views.TopicListView.as_view(), - name="list_topics" - ), - #path( - # r'books/<str:slug>', - # views.BookDetailView.as_view(), - # name='detail_book' - #), - #path( - # r'books/', - # views.BookListView.as_view(), - # name='list_books' - #), - path( - r'<str:slug>.txt', - views.SrcDetailViewTXT.as_view(), - name="detail-txt" - ), - path( - r'<str:slug>', - views.SrcDetailView.as_view(), - name="detail" - ), - re_path( - r'<int:page>', - views.SrcListView.as_view(), - name="list" - ), - path( - r'', - views.SrcListView.as_view(), - {'page':1}, - name="list" - ), -] |