From 741cea88d882d8ac185121141ef49815835ad8a7 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 2 Dec 2015 13:03:21 -0500 Subject: updated url schemes to quiet some django 1.10 warnings --- app/figments/urls.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'app/figments/urls.py') 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[-\w]+).txt$', - view=views.FigmentDetailViewTXT.as_view(), + r'(?P[-\w]+).txt$', + views.FigmentDetailViewTXT.as_view(), name="detail-txt" ), url( - regex=r'(?P[-\w]+)$', - view=views.FigmentDetailView.as_view(), + r'(?P[-\w]+)$', + views.FigmentDetailView.as_view(), name='detail' ), url( - regex=r'^$', - view=views.FigmentListView.as_view(), + r'^$', + views.FigmentListView.as_view(), name='list' ), ] -- cgit v1.2.3-70-g09d2