summaryrefslogtreecommitdiff
path: root/app/posts/urls/src_urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/posts/urls/src_urls.py')
-rw-r--r--app/posts/urls/src_urls.py49
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"
- ),
-]