Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
joshbenito_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
Matthew Josh Benedict Benito
joshbenito_reading
Commits
ff06d1ce
Commit
ff06d1ce
authored
May 20, 2023
by
MJoshBen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edited Slight Errors found in URLs and Author Details
parent
210ed8fa
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
2 deletions
+2
-2
urls.cpython-311.pyc
...benito_reading/bookshelf/__pycache__/urls.cpython-311.pyc
+0
-0
views.cpython-311.pyc
...enito_reading/bookshelf/__pycache__/views.cpython-311.pyc
+0
-0
author_details.html
...reading/bookshelf/templates/bookshelf/author_details.html
+1
-1
urls.py
joshbenito_reading/bookshelf/urls.py
+1
-1
No files found.
joshbenito_reading/bookshelf/__pycache__/urls.cpython-311.pyc
View file @
ff06d1ce
No preview for this file type
joshbenito_reading/bookshelf/__pycache__/views.cpython-311.pyc
View file @
ff06d1ce
No preview for this file type
joshbenito_reading/bookshelf/templates/bookshelf/author_details.html
View file @
ff06d1ce
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<h3>
{{ author.age }}
<br>
<h3>
{{ author.age }}
<br>
{{ author.nationality }}
<br>
{{ author.nationality }}
<br>
{{ author.bio }}
</h3>
{{ author.bio }}
</h3>
<a
href=
"/authors/{{ author.pk }}/edit"
><input
type=
"submit"
value=
"Edit
Book
"
></a><br>
<a
href=
"/authors/{{ author.pk }}/edit"
><input
type=
"submit"
value=
"Edit
Author
"
></a><br>
<h3>
Books by {{ author }} I love:
</h3>
<h3>
Books by {{ author }} I love:
</h3>
<ul>
<ul>
{% for book in author.books_set.all %}
{% for book in author.books_set.all %}
...
...
joshbenito_reading/bookshelf/urls.py
View file @
ff06d1ce
...
@@ -11,7 +11,7 @@ urlpatterns = [
...
@@ -11,7 +11,7 @@ urlpatterns = [
path
(
'authors/'
,
AuthorListView
.
as_view
(),
name
=
'authors-list'
),
path
(
'authors/'
,
AuthorListView
.
as_view
(),
name
=
'authors-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'
),
path
(
'authors/<int:pk>/edit'
,
AuthorUpdateView
.
as_view
(),
nme
=
'edit-author'
),
path
(
'authors/<int:pk>/edit'
,
AuthorUpdateView
.
as_view
(),
n
a
me
=
'edit-author'
),
]
]
app_name
=
"bookshelf"
app_name
=
"bookshelf"
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