diff options
Diffstat (limited to 'app/books/urls.py')
-rw-r--r-- | app/books/urls.py | 4 |
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" ), ] |