diff options
Diffstat (limited to 'app/resume/urls.py')
-rw-r--r-- | app/resume/urls.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/resume/urls.py b/app/resume/urls.py index 47e07ad..0f74c70 100644 --- a/app/resume/urls.py +++ b/app/resume/urls.py @@ -7,11 +7,6 @@ app_name = "resume" urlpatterns = [ path( - r'<str:slug>', - views.ResumeView.as_view(), - name='resume', - ), - path( r'pubs/<str:page>/', views.PublisherListView.as_view(), name='list', @@ -33,7 +28,7 @@ urlpatterns = [ name="live_publisher_redirect" ), path( - r'pubs/', + r'pubs', RedirectView.as_view(url="/resume/pubs/1/", permanent=False), name="live_redirect" ), @@ -42,4 +37,9 @@ urlpatterns = [ views.PageView.as_view(), name="pages" ), + path( + r'<str:slug>', + views.ResumeView.as_view(), + name='resume', + ), ] |