diff options
author | luxagraf <sng@luxagraf.net> | 2025-01-03 18:46:40 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2025-01-03 18:46:40 -0600 |
commit | fe7d43f308bbc3953d4a88480b8088d12cbcb0b6 (patch) | |
tree | 3aa10d1ac8e041ad2b78a5acf6b29febad6a5fe3 /bak/unused_apps/resume/urls.py | |
parent | df3bc581e496412ef8c263dbf1cfe00f184e4e59 (diff) |
archived old not used apps
Diffstat (limited to 'bak/unused_apps/resume/urls.py')
-rw-r--r-- | bak/unused_apps/resume/urls.py | 48 |
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" + ), +] |