Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
janang_reading
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jan Ericsson Ong Ang
janang_reading
Commits
5822bf48
Commit
5822bf48
authored
Apr 25, 2023
by
Jan Ericsson Ong Ang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edited books details html
parent
4c3da610
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
urls.cpython-310.pyc
janang_reading/bookshelf/__pycache__/urls.cpython-310.pyc
+0
-0
book_details.html
...g_reading/bookshelf/templates/bookshelf/book_details.html
+1
-1
urls.py
janang_reading/bookshelf/urls.py
+2
-2
No files found.
janang_reading/bookshelf/__pycache__/urls.cpython-310.pyc
View file @
5822bf48
No preview for this file type
janang_reading/bookshelf/templates/bookshelf/book_details.html
View file @
5822bf48
...
...
@@ -11,7 +11,7 @@
<p>
{{ books.ISBN }}
</p>
<p>
{{ books.blurb }}
</p>
<button
type=
"button"
>
<a
href=
"/bookshelf/books/{{ book.id }}/edit/"
>
<a
href=
"/bookshelf/books/{{ book
s
.id }}/edit/"
>
Edit Book
</a>
</button><br>
...
...
janang_reading/bookshelf/urls.py
View file @
5822bf48
...
...
@@ -12,8 +12,8 @@ urlpatterns = [
path
(
'authors/<int:id>/edit/'
,
AuthorDetailView
.
as_view
(),
name
=
'edit-author'
),
path
(
'books/'
,
BooksView
.
as_view
(),
name
=
'books'
),
path
(
'books/<int:id>/details/'
,
BookDetailView
.
as_view
(),
name
=
'books-detail'
),
path
(
'books/<int:id>/add/'
,
BookDetailView
.
as_view
(),
name
=
'add-book
s
'
),
path
(
'books/<int:id>/edit/'
,
BookDetailView
.
as_view
(),
name
=
'edit-book
s
'
),
path
(
'books/<int:id>/add/'
,
BookDetailView
.
as_view
(),
name
=
'add-book'
),
path
(
'books/<int:id>/edit/'
,
BookDetailView
.
as_view
(),
name
=
'edit-book'
),
]
app_name
=
'bookshelf'
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment