diff options
Diffstat (limited to 'app/resume/urls.py')
-rw-r--r-- | app/resume/urls.py | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/app/resume/urls.py b/app/resume/urls.py deleted file mode 100644 index de95866..0000000 --- a/app/resume/urls.py +++ /dev/null @@ -1,48 +0,0 @@ -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" - ), -] |