diff options
author | luxagraf <sng@luxagraf.net> | 2019-01-31 08:42:56 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-01-31 08:42:56 -0600 |
commit | 54806ef2b80af51c682553f4ef53f021c8f82160 (patch) | |
tree | fe3ab1669350a6678d960b90897dd6b4d872593b /app/publications/urls.py | |
parent | 2f7249b1cc40834752471f8b688084b139f0976c (diff) |
added pitch tracking system and taxonomy system across models
Diffstat (limited to 'app/publications/urls.py')
-rw-r--r-- | app/publications/urls.py | 24 |
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" + ), +] |