summaryrefslogtreecommitdiff
path: root/app/books/urls.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-12-03 11:06:47 -0500
committerluxagraf <sng@luxagraf.net>2015-12-03 11:06:47 -0500
commit657d719bfdc33c8b01a430ea3f58a4907c558f9d (patch)
tree073b4f489c49588103e5ce13bcaddc683c4494cb /app/books/urls.py
parent99ccbac9e4b96524aa33b5005ce3f7aa029126f6 (diff)
moved books to new build system
Diffstat (limited to 'app/books/urls.py')
-rw-r--r--app/books/urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/books/urls.py b/app/books/urls.py
index be075ab..89c125e 100644
--- a/app/books/urls.py
+++ b/app/books/urls.py
@@ -12,13 +12,13 @@ urlpatterns = [
name='list',
),
url(
- r'(?P<slug>[-\w]+)/$',
+ r'(?P<slug>[-\w]+)$',
views.BookDetailView.as_view(),
name='detail',
),
url(
r'^$',
RedirectView.as_view(url="/books/1/", permanent=False),
- name="live-redirect"
+ name="live_redirect"
),
]