Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_father when can i be on my own i have the hello world to see
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
father when can i be on my own i have the hello world to see
widget_father when can i be on my own i have the hello world to see
Commits
cae5998d
Commit
cae5998d
authored
Mar 08, 2022
by
Charles Lim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Created the homepage view and the views Python file
parent
e95bb3e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
urls.py
..._can_i_be_on_my_own_i_have_the_hello_world_to_see/urls.py
+3
-0
views.py
...can_i_be_on_my_own_i_have_the_hello_world_to_see/views.py
+5
-0
No files found.
widget_father_when_can_i_be_on_my_own_i_have_the_hello_world_to_see/urls.py
View file @
cae5998d
...
...
@@ -16,6 +16,9 @@ Including another URLconf
from
django.contrib
import
admin
from
django.urls
import
path
from
.views
import
homepage
urlpatterns
=
[
path
(
'homepage/'
,
homepage
,
name
=
'homepage'
),
path
(
'admin/'
,
admin
.
site
.
urls
),
]
widget_father_when_can_i_be_on_my_own_i_have_the_hello_world_to_see/views.py
0 → 100644
View file @
cae5998d
from
django.http
import
HttpResponse
# Shows the webpage for the path /homepage
def
homepage
(
request
):
return
HttpResponse
(
'Welcome to Widget!'
)
\ 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