summaryrefslogtreecommitdiff
path: root/app/resume
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-12-02 13:03:21 -0500
committerluxagraf <sng@luxagraf.net>2015-12-02 13:03:21 -0500
commit741cea88d882d8ac185121141ef49815835ad8a7 (patch)
treee465898ca5ba46cc61a191f93f9f71a1fdd7a65d /app/resume
parent988f1149eedf8de5c6b083370c736a82b53b48ac (diff)
updated url schemes to quiet some django 1.10 warnings
Diffstat (limited to 'app/resume')
-rw-r--r--app/resume/urls.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/app/resume/urls.py b/app/resume/urls.py
index a359899..3e113e8 100644
--- a/app/resume/urls.py
+++ b/app/resume/urls.py
@@ -5,28 +5,28 @@ from . import views
urlpatterns = [
url(
- regex=r'pubs/(?P<page>\d+)/$',
- view=views.PublisherListView.as_view(),
+ r'pubs/(?P<page>\d+)/$',
+ views.PublisherListView.as_view(),
name='list',
),
url(
- regex=r'pubs/(?P<publisher>[-\w]+)/(?P<slug>[-\w]+)$',
- view=views.PubItemDetailView.as_view(),
+ r'pubs/(?P<publisher>[-\w]+)/(?P<slug>[-\w]+)$',
+ views.PubItemDetailView.as_view(),
name='detail',
),
url(
- regex=r'pubs/$',
- view=RedirectView.as_view(url="/resume/pubs/1/", permanent=False),
+ r'pubs/$',
+ RedirectView.as_view(url="/resume/pubs/1/", permanent=False),
name="live-redirect"
),
url(
- regex=r'^(?P<slug>[-\w]+)$',
- view=views.PageView.as_view(),
+ r'^(?P<slug>[-\w]+)$',
+ views.PageView.as_view(),
name="cv"
),
url(
- regex=r'^$',
- view=views.BaseView.as_view(),
+ r'^$',
+ views.BaseView.as_view(),
name="intro"
),
]