Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Collection of Practice
2019
1606876052-practice
Commits
01c89111
Commit
01c89111
authored
Sep 17, 2019
by
Rayza Arasj Mahardhika
Browse files
implement view
parent
493a9b8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
lists/views.py
View file @
01c89111
from
django.http
import
HttpResponse
def
home_page
(
request
):
return
HttpResponse
(
'<html><title>To-Do lists</title></html>'
)
return
HttpResponse
(
'<html>'
+
'<title>Rayza
\'
s Homepage</title>'
+
'<h1>Welcome to Rayza
\'
s Homepage'
+
'</html>'
)
Write
Preview
Supports
Markdown
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