diff options
Diffstat (limited to 'bak/unused_apps/publications/urls.py')
-rw-r--r-- | bak/unused_apps/publications/urls.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/bak/unused_apps/publications/urls.py b/bak/unused_apps/publications/urls.py new file mode 100644 index 0000000..3f43b32 --- /dev/null +++ b/bak/unused_apps/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" + ), +] |