Commit cf1a878a authored by justin's avatar justin

Minor URL change (.../detail to .../details)

parent 473e2cae
...@@ -10,7 +10,7 @@ from .views import ( ...@@ -10,7 +10,7 @@ from .views import (
urlpatterns = [ urlpatterns = [
path("home/", index, name="home"), path("home/", index, name="home"),
path("books/", BookListView.as_view(), name="book-list"), path("books/", BookListView.as_view(), name="book-list"),
path("books/<int:pk>/detail", BookDetailView.as_view(), name="book-detail"), path("books/<int:pk>/details", BookDetailView.as_view(), name="book-detail"),
path("authors/", AuthorListView.as_view(), name="author-list"), path("authors/", AuthorListView.as_view(), name="author-list"),
path("author/<int:pk>/detail", AuthorDetailView.as_view(), name="author-detail"), path("author/<int:pk>/details", AuthorDetailView.as_view(), name="author-detail"),
] ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment