summaryrefslogtreecommitdiff
path: root/bak/unused_apps/resume/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'bak/unused_apps/resume/urls.py')
-rw-r--r--bak/unused_apps/resume/urls.py48
1 files changed, 48 insertions, 0 deletions
diff --git a/bak/unused_apps/resume/urls.py b/bak/unused_apps/resume/urls.py
new file mode 100644
index 0000000..de95866
--- /dev/null
+++ b/bak/unused_apps/resume/urls.py
@@ -0,0 +1,48 @@
+from django.urls import path, re_path
+from django.views.generic.base import RedirectView
+
+from . import views
+
+app_name = "resume"
+
+urlpatterns = [
+ path(
+ r'pubs/<str:publisher>/<int:page>/',
+ views.ByPublisherListView.as_view(),
+ name='list_by_publisher',
+ ),
+ path(
+ r'pubs/<str:publisher>/',
+ views.ByPublisherListView.as_view(),
+ {'page': 1},
+ name='list_by_publisher',
+ ),
+ path(
+ r'pubs/<str:page>/',
+ views.PublisherListView.as_view(),
+ name='list',
+ ),
+ path(
+ r'pubs/',
+ views.PublisherListView.as_view(),
+ {'page': 1},
+ name="list"
+ ),
+ path(
+ r'pubs/<str:publisher>/<str:slug>',
+ views.PubItemDetailView.as_view(),
+ name='detail',
+ ),
+ path(
+ r'<str:slug>/',
+ views.PageView.as_view(),
+ {'path': 'work'},
+ name="pages"
+ ),
+ path(
+ r'',
+ views.PageView.as_view(),
+ {'path': 'work', 'slug': 'profile'},
+ name="pages"
+ ),
+]