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
2f54bd56
Commit
2f54bd56
authored
Mar 09, 2022
by
Jonathan Talbot
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'AnnouncementBoard' into 'main'
Announcement board See merge request
!2
parents
973a354c
7219548d
Changes
2
Show 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 @
2f54bd56
...
@@ -19,6 +19,7 @@ from .views import homepage, forum
...
@@ -19,6 +19,7 @@ from .views import homepage, forum
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'
)
path
(
'forum/'
,
forum
,
name
=
'forum'
),
path
(
'forum/'
,
forum
,
name
=
'forum'
),
]
]
widget_group3/widget_group3/views.py
View file @
2f54bd56
...
@@ -3,5 +3,8 @@ from django.http import HttpResponse
...
@@ -3,5 +3,8 @@ from django.http import HttpResponse
def
homepage
(
request
):
def
homepage
(
request
):
return
HttpResponse
(
'Welcome to Widget!'
)
return
HttpResponse
(
'Welcome to Widget!'
)
def
announcements
(
request
):
return
HttpResponse
(
'This is the Announcement Board!'
)
def
forum
(
request
):
def
forum
(
request
):
return
HttpResponse
(
'Welcome to Widget’s Forum!'
)
return
HttpResponse
(
'Welcome to Widget’s Forum!'
)
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