Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
fausto_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
Brendan Fausto
fausto_reading
Commits
85892caf
Commit
85892caf
authored
Apr 12, 2023
by
Brendan Fausto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed import error in urls
parent
b098bc0c
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4 additions
and
4 deletions
+4
-4
README.txt
reading/README.txt
+2
-2
urls.cpython-311.pyc
reading/bookshelf/__pycache__/urls.cpython-311.pyc
+0
-0
views.cpython-311.pyc
reading/bookshelf/__pycache__/views.cpython-311.pyc
+0
-0
urls.py
reading/bookshelf/urls.py
+1
-1
views.py
reading/bookshelf/views.py
+1
-1
db.sqlite3
reading/db.sqlite3
+0
-0
No files found.
reading/README.txt
View file @
85892caf
Brendan Gabrielle M. Fausto - 202033 - CSCI 40 E
Lab 03 - Reading
Date of Submission:
30/03
/2023
Date of Submission:
12/04
/2023
This lab was made through my own efforts and time.
Signed,
<sgd> Brendan Gabrielle M. Fausto - 30/03/2023
\ No newline at end of file
<sgd> Brendan Gabrielle M. Fausto - 12/04/2023
\ No newline at end of file
reading/bookshelf/__pycache__/urls.cpython-311.pyc
View file @
85892caf
No preview for this file type
reading/bookshelf/__pycache__/views.cpython-311.pyc
0 → 100644
View file @
85892caf
File added
reading/bookshelf/urls.py
View file @
85892caf
# about/urls.py
from
django.urls
import
path
from
.views
import
index
,
home_view
from
.views
import
home_view
urlpatterns
=
[
path
(
'home'
,
home_view
,
name
=
'index'
),
...
...
reading/bookshelf/views.py
View file @
85892caf
...
...
@@ -5,7 +5,7 @@ from django.views.generic.list import ListView
from
.models
import
Books
,
Authors
class
home_view
(
request
):
def
home_view
(
request
):
return
render
(
request
,
'bookshelf/homepage.html'
,
{
'page_title'
:
'Books and Authors'
})
...
...
reading/db.sqlite3
View file @
85892caf
No preview for this file type
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