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
847cc9bc
Commit
847cc9bc
authored
Mar 28, 2023
by
Jan Ericsson Ong Ang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edited the nickname aspect of templates & views.py
parent
47311e66
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
5 deletions
+4
-5
authors.html
janang_reading/bookshelf/templates/bookshelf/authors.html
+1
-1
books.html
janang_reading/bookshelf/templates/bookshelf/books.html
+1
-1
home.html
janang_reading/bookshelf/templates/bookshelf/home.html
+1
-1
views.py
janang_reading/bookshelf/views.py
+1
-2
No files found.
janang_reading/bookshelf/templates/bookshelf/authors.html
View file @
847cc9bc
{% extends 'base.html' %}
{% extends 'base.html' %}
{% block title %}My Favorite Authors{% endblock %}
{% block title %}My Favorite Authors{% endblock %}
{% block header %}
Jan
's Favorite Authors:{% endblock %}
{% block header %}
,{% nickname %}
's Favorite Authors:{% endblock %}
{% block content %}
{% block content %}
{% for author in authors %}
{% for author in authors %}
...
...
janang_reading/bookshelf/templates/bookshelf/books.html
View file @
847cc9bc
{% extends 'base.html' %}
{% extends 'base.html' %}
{% block title %}My Favorite Books{% endblock %}
{% block title %}My Favorite Books{% endblock %}
{% block header %}
Jan
's Favorite Books:{% endblock %}
{% block header %}
{% nickname %}
's Favorite Books:{% endblock %}
{% block content %}
{% block content %}
{% for book in books %}
{% for book in books %}
...
...
janang_reading/bookshelf/templates/bookshelf/home.html
View file @
847cc9bc
{% extends 'base.html' %}
{% extends 'base.html' %}
{% block title %} My Favorite Books
&
Authors!{% endblock %}
{% block title %} My Favorite Books
&
Authors!{% endblock %}
{% block header %}Welcome to
Jan
's Database of Favorite Books and Author's! {% endblock %}
{% block header %}Welcome to
{% nickname %}
's Database of Favorite Books and Author's! {% endblock %}
{% block content %}
{% block content %}
<p>
<p>
I love fiction novels that are able to tell a story really well. A book that is able to keep me interested throughout every page is what I love!
I love fiction novels that are able to tell a story really well. A book that is able to keep me interested throughout every page is what I love!
...
...
janang_reading/bookshelf/views.py
View file @
847cc9bc
...
@@ -15,5 +15,4 @@ def new_view(request):
...
@@ -15,5 +15,4 @@ def new_view(request):
class
HomepageView
(
View
):
class
HomepageView
(
View
):
def
get
(
request
):
return
render
(
request
,
'bookshelf/templates/home.html'
,
{
'nickname'
,
'Jan'
}
)
return
render
(
request
,
'bookshelf/'
)
\ No newline at end of file
\ 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