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
e93041db
Commit
e93041db
authored
Mar 28, 2023
by
Jan Ericsson Ong Ang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edited homeview in views.py
parent
748e1e05
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
2 deletions
+3
-2
urls.cpython-310.pyc
janang_reading/bookshelf/__pycache__/urls.cpython-310.pyc
+0
-0
views.cpython-310.pyc
janang_reading/bookshelf/__pycache__/views.cpython-310.pyc
+0
-0
views.py
janang_reading/bookshelf/views.py
+3
-2
settings.cpython-310.pyc
...ading/janang_reading/__pycache__/settings.cpython-310.pyc
+0
-0
No files found.
janang_reading/bookshelf/__pycache__/urls.cpython-310.pyc
View file @
e93041db
No preview for this file type
janang_reading/bookshelf/__pycache__/views.cpython-310.pyc
View file @
e93041db
No preview for this file type
janang_reading/bookshelf/views.py
View file @
e93041db
...
@@ -5,7 +5,8 @@ from .models import Author, Books
...
@@ -5,7 +5,8 @@ from .models import Author, Books
# Create your views here.
# Create your views here.
def
HomeView
(
request
):
class
HomeView
:
def
get
(
self
,
request
):
return
render
(
request
,
'bookshelf/home.html'
,
{
'nickname'
:
'Jan'
})
return
render
(
request
,
'bookshelf/home.html'
,
{
'nickname'
:
'Jan'
})
class
AuthorView
(
ListView
):
class
AuthorView
(
ListView
):
...
...
janang_reading/janang_reading/__pycache__/settings.cpython-310.pyc
View file @
e93041db
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