Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_group3
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
Jonathan Talbot
widget_group3
Commits
78154714
Commit
78154714
authored
Mar 09, 2022
by
Joshua de Vera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Announcement Board
Announcement Board Changes - Josh
parent
c183186a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
urls.py
widget_group3/widget_group3/urls.py
+2
-1
views.py
widget_group3/widget_group3/views.py
+4
-1
No files found.
widget_group3/widget_group3/urls.py
View file @
78154714
...
@@ -19,5 +19,6 @@ from .views import homepage
...
@@ -19,5 +19,6 @@ from .views import homepage
urlpatterns
=
[
urlpatterns
=
[
path
(
'admin/'
,
admin
.
site
.
urls
),
path
(
'admin/'
,
admin
.
site
.
urls
),
path
(
'homepage/'
,
homepage
,
name
=
'homepage'
),
path
(
''
,
homepage
,
name
=
'homepage'
),
path
(
'announcements/'
,
announcements
,
name
=
'Announcement Board'
)
]
]
widget_group3/widget_group3/views.py
View file @
78154714
from
django.http
import
HttpResponse
from
django.http
import
HttpResponse
def
homepage
(
request
):
def
homepage
(
request
):
return
HttpResponse
(
'Welcome to Widget!'
)
return
HttpResponse
(
'Welcome to Widget!'
)
\ No newline at end of file
def
announcements
(
request
):
return
HttpResponse
(
'Welcome to The Announcement Board!'
)
\ 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