Commit 945ae307 authored by Gabriel G. Garrero's avatar Gabriel G. Garrero

Added missing / in urls.py

parent edbfde01
...@@ -9,7 +9,7 @@ urlpatterns = [ ...@@ -9,7 +9,7 @@ urlpatterns = [
path('books/', BooksListView.as_view(), name = 'book-list'), path('books/', BooksListView.as_view(), name = 'book-list'),
path('books/<int:pk>/details', BooksDetailView.as_view(), name = 'books-details'), path('books/<int:pk>/details', BooksDetailView.as_view(), name = 'books-details'),
path('books/add', BooksCreateView.as_view(), name = 'add-book'), path('books/add', BooksCreateView.as_view(), name = 'add-book'),
path('books/<int:pk>edit', BooksUpdateView.as_view(), name = 'edit-book'), path('books/<int:pk>/edit', BooksUpdateView.as_view(), name = 'edit-book'),
path('authors/', AuthorListView.as_view(), name = 'author-list'), path('authors/', AuthorListView.as_view(), name = 'author-list'),
path('authors/<int:pk>/details', AuthorDetailView.as_view(), name = 'author-details'), path('authors/<int:pk>/details', AuthorDetailView.as_view(), name = 'author-details'),
path('authors/add', AuthorCreateView.as_view(), name = 'add-author'), path('authors/add', AuthorCreateView.as_view(), name = 'add-author'),
......
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