summaryrefslogtreecommitdiff
path: root/app/publications/urls.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-01-31 08:42:56 -0600
committerluxagraf <sng@luxagraf.net>2019-01-31 08:42:56 -0600
commit54806ef2b80af51c682553f4ef53f021c8f82160 (patch)
treefe3ab1669350a6678d960b90897dd6b4d872593b /app/publications/urls.py
parent2f7249b1cc40834752471f8b688084b139f0976c (diff)
added pitch tracking system and taxonomy system across models
Diffstat (limited to 'app/publications/urls.py')
-rw-r--r--app/publications/urls.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/publications/urls.py b/app/publications/urls.py
new file mode 100644
index 0000000..3f43b32
--- /dev/null
+++ b/app/publications/urls.py
@@ -0,0 +1,24 @@
+from django.urls import path
+
+from . import views
+
+app_name = "publications"
+
+urlpatterns = [
+ path(
+ r'',
+ views.PubListView.as_view(),
+ {'page': 1},
+ name="list"
+ ),
+ path(
+ r'<int:page>/',
+ views.PubListView.as_view(),
+ name="list"
+ ),
+ path(
+ r'<str:slug>',
+ views.PubsDetailView.as_view(),
+ name="pub-detail"
+ ),
+]