Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
alvaalvarez_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
Angelo Alvarez
alvaalvarez_reading
Commits
b4f04fc0
Commit
b4f04fc0
authored
Mar 27, 2023
by
Angelo Alvarez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Landing Page Template Created
parent
55f0509d
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
56 additions
and
6 deletions
+56
-6
settings.cpython-310.pyc
.../alvaalvarez_reading/__pycache__/settings.cpython-310.pyc
+0
-0
settings.py
alvaalvarez_reading/alvaalvarez_reading/settings.py
+1
-1
urls.cpython-310.pyc
...lvarez_reading/bookshelf/__pycache__/urls.cpython-310.pyc
+0
-0
views.cpython-310.pyc
...varez_reading/bookshelf/__pycache__/views.cpython-310.pyc
+0
-0
home.html
alvaalvarez_reading/bookshelf/templates/events/home.html
+36
-0
urls.py
alvaalvarez_reading/bookshelf/urls.py
+2
-2
views.py
alvaalvarez_reading/bookshelf/views.py
+3
-3
base.html
alvaalvarez_reading/templates/base.html
+14
-0
No files found.
alvaalvarez_reading/alvaalvarez_reading/__pycache__/settings.cpython-310.pyc
View file @
b4f04fc0
No preview for this file type
alvaalvarez_reading/alvaalvarez_reading/settings.py
View file @
b4f04fc0
...
@@ -58,7 +58,7 @@ ROOT_URLCONF = 'alvaalvarez_reading.urls'
...
@@ -58,7 +58,7 @@ ROOT_URLCONF = 'alvaalvarez_reading.urls'
TEMPLATES
=
[
TEMPLATES
=
[
{
{
'BACKEND'
:
'django.template.backends.django.DjangoTemplates'
,
'BACKEND'
:
'django.template.backends.django.DjangoTemplates'
,
'DIRS'
:
[],
'DIRS'
:
[
os
.
path
.
join
(
BASE_DIR
,
'templates'
)
],
'APP_DIRS'
:
True
,
'APP_DIRS'
:
True
,
'OPTIONS'
:
{
'OPTIONS'
:
{
'context_processors'
:
[
'context_processors'
:
[
...
...
alvaalvarez_reading/bookshelf/__pycache__/urls.cpython-310.pyc
View file @
b4f04fc0
No preview for this file type
alvaalvarez_reading/bookshelf/__pycache__/views.cpython-310.pyc
View file @
b4f04fc0
No preview for this file type
alvaalvarez_reading/bookshelf/templates/events/home.html
0 → 100644
View file @
b4f04fc0
{% extends 'base.html' %}
{% load static %}
{% block title %}My Favorite Books and Authors{% endblock %}
{% block content %}
<h1
style=
"text-align: center"
>
Welcome to Alva's Database of Favorite Books and Authors
</h1>
<hr>
I find myself drawn to classic literature that explores deep philosophical questions and themes.
Some of my favorite authors include Dante Alighieri, William Shakespeare, and Fyodor Dostoevsky.
I particularly enjoy reading works like "The Divine Comedy" and "Crime and Punishment" that delve
into questions of morality, guilt, and redemption.
I'm also intrigued by works like "Paradise Lost" and "Thus Spoke Zarathustra" that explore complex
religious and philosophical themes, and I appreciate the way these books challenge me to think deeply
about the nature of existence and human consciousness.
In terms of more political works, I've found myself drawn to books like "The Communist Manifesto"
and "The Social Contract" that explore questions of social justice, governance, and the relationship
between individuals and society. I appreciate the way these works offer a critical lens through which
to view the world around us and the power structures that shape our lives.
Overall, I'm drawn to books that challenge me intellectually and offer a window into the deeper workings
of the human psyche and the world around us. I look forward to continuing to explore the rich and complex
works of classic literature as I progress through my college career.
<hr>
<div
id=
"links"
style=
"margin: auto; text-align: center; width: 100%"
>
<a
href=
"../books/"
>
Books
</a>
<a
href=
"../authors/"
>
Authors
</a>
</div>
{% endblock %}
\ No newline at end of file
alvaalvarez_reading/bookshelf/urls.py
View file @
b4f04fc0
from
django.urls
import
path
from
django.urls
import
path
from
.views
import
index
from
.views
import
home
urlpatterns
=
[
urlpatterns
=
[
path
(
'
'
,
index
,
name
=
'index
'
),
path
(
'
home/'
,
home
,
name
=
'home
'
),
]
]
# This might be needed, depending on your Django version
# This might be needed, depending on your Django version
...
...
alvaalvarez_reading/bookshelf/views.py
View file @
b4f04fc0
from
django.shortcuts
import
render
from
django.shortcuts
import
render
from
django.http
import
HttpResponse
# Create your views here.
# Create your views here.
from
django.http
import
HttpResponse
def
index
(
request
):
def
home
(
request
):
return
HttpResponse
(
'Hello World! This came from the index view'
)
return
render
(
request
,
'events/home.html'
)
\ No newline at end of file
\ No newline at end of file
alvaalvarez_reading/templates/base.html
0 → 100644
View file @
b4f04fc0
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<link
rel=
"stylesheet"
href=
"style.css"
>
<title>
{% block title %}My amazing site{% endblock %}
</title>
{% block styles %}{% endblock %}
</head>
<body>
<div
id=
"content"
>
{% block content %}{% endblock %}
</div>
{% block scripts %}{% endblock %}
</body>
</html>
\ 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