Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
diannedelpilar_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
Fritzie Dianne Del Pilar
diannedelpilar_reading
Commits
34ba7650
Commit
34ba7650
authored
Mar 28, 2023
by
Fritzie Dianne Del Pilar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added paths
parent
5135c371
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
urls.py
diannedelpilar_reading/bookshelf/urls.py
+7
-3
No files found.
diannedelpilar_reading/bookshelf/urls.py
View file @
34ba7650
from
django.urls
import
path
from
django.urls
import
path
from
.
import
views
from
.views
import
index
from
.views
import
home
urlpatterns
=
[
urlpatterns
=
[
path
(
''
,
index
,
name
=
'index'
),
path
(
'home/'
,
home
,
name
=
'home'
),
path
(
'home/books/'
,
views
.
BooksView
.
as_view
(),
name
=
'books'
),
path
(
'home/authors/'
,
views
.
AuthorsView
.
as_view
(),
name
=
'authors'
),
path
(
'<int:book_id>/book_details'
,
views
.
BooksDetailView
.
as_view
(),
name
=
"book_detail"
),
path
(
'<int:author_id>/author_details'
,
views
.
AuthorsDetailView
.
as_view
(),
name
=
"author_detail"
),
]
]
app_name
=
'bookshelf'
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