diff options
author | luxagraf <sng@luxagraf.net> | 2015-12-02 13:03:21 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-12-02 13:03:21 -0500 |
commit | 741cea88d882d8ac185121141ef49815835ad8a7 (patch) | |
tree | e465898ca5ba46cc61a191f93f9f71a1fdd7a65d /app/figments/urls.py | |
parent | 988f1149eedf8de5c6b083370c736a82b53b48ac (diff) |
updated url schemes to quiet some django 1.10 warnings
Diffstat (limited to 'app/figments/urls.py')
-rw-r--r-- | app/figments/urls.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/app/figments/urls.py b/app/figments/urls.py index 2114792..9e624aa 100644 --- a/app/figments/urls.py +++ b/app/figments/urls.py @@ -4,28 +4,28 @@ from . import views urlpatterns = [ url( - regex=r'^feed.xml', - view=views.FigRSSFeedView(), + r'^feed.xml', + views.FigRSSFeedView(), name="feed" ), url( - regex=r'series/$', - view=views.SeriesListView.as_view(), + r'series/$', + views.SeriesListView.as_view(), name='list_series' ), url( - regex=r'(?P<slug>[-\w]+).txt$', - view=views.FigmentDetailViewTXT.as_view(), + r'(?P<slug>[-\w]+).txt$', + views.FigmentDetailViewTXT.as_view(), name="detail-txt" ), url( - regex=r'(?P<slug>[-\w]+)$', - view=views.FigmentDetailView.as_view(), + r'(?P<slug>[-\w]+)$', + views.FigmentDetailView.as_view(), name='detail' ), url( - regex=r'^$', - view=views.FigmentListView.as_view(), + r'^$', + views.FigmentListView.as_view(), name='list' ), ] |