Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_group 6
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
Patricia Isabella Nava
widget_group 6
Commits
c521d624
Commit
c521d624
authored
Mar 08, 2022
by
Junho Park
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: create announcements page and include announcements page url to widget url
parent
fd21d23d
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
31 additions
and
0 deletions
+31
-0
__init__.py
widget_group_6/announcements/__init__.py
+0
-0
__init__.cpython-39.pyc
...group_6/announcements/__pycache__/__init__.cpython-39.pyc
+0
-0
urls.cpython-39.pyc
widget_group_6/announcements/__pycache__/urls.cpython-39.pyc
+0
-0
views.cpython-39.pyc
...et_group_6/announcements/__pycache__/views.cpython-39.pyc
+0
-0
admin.py
widget_group_6/announcements/admin.py
+3
-0
apps.py
widget_group_6/announcements/apps.py
+6
-0
__init__.py
widget_group_6/announcements/migrations/__init__.py
+0
-0
models.py
widget_group_6/announcements/models.py
+3
-0
tests.py
widget_group_6/announcements/tests.py
+3
-0
urls.py
widget_group_6/announcements/urls.py
+9
-0
views.py
widget_group_6/announcements/views.py
+6
-0
urls.cpython-39.pyc
...et_group_6/widget_group_6/__pycache__/urls.cpython-39.pyc
+0
-0
urls.py
widget_group_6/widget_group_6/urls.py
+1
-0
No files found.
widget_group_6/announcements/__init__.py
0 → 100644
View file @
c521d624
widget_group_6/announcements/__pycache__/__init__.cpython-39.pyc
0 → 100644
View file @
c521d624
File added
widget_group_6/announcements/__pycache__/urls.cpython-39.pyc
0 → 100644
View file @
c521d624
File added
widget_group_6/announcements/__pycache__/views.cpython-39.pyc
0 → 100644
View file @
c521d624
File added
widget_group_6/announcements/admin.py
0 → 100644
View file @
c521d624
from
django.contrib
import
admin
# Register your models here.
widget_group_6/announcements/apps.py
0 → 100644
View file @
c521d624
from
django.apps
import
AppConfig
class
AnnouncementsConfig
(
AppConfig
):
default_auto_field
=
'django.db.models.BigAutoField'
name
=
'announcements'
widget_group_6/announcements/migrations/__init__.py
0 → 100644
View file @
c521d624
widget_group_6/announcements/models.py
0 → 100644
View file @
c521d624
from
django.db
import
models
# Create your models here.
widget_group_6/announcements/tests.py
0 → 100644
View file @
c521d624
from
django.test
import
TestCase
# Create your tests here.
widget_group_6/announcements/urls.py
0 → 100644
View file @
c521d624
from
django.urls
import
path
from
.views
import
index
urlpatterns
=
[
path
(
''
,
index
,
name
=
'index'
),
]
app_name
=
'announcements'
widget_group_6/announcements/views.py
0 → 100644
View file @
c521d624
from
django.shortcuts
import
render
from
django.http
import
HttpResponse
def
index
(
request
):
return
HttpResponse
(
'This is the Announcement Board!'
)
widget_group_6/widget_group_6/__pycache__/urls.cpython-39.pyc
View file @
c521d624
No preview for this file type
widget_group_6/widget_group_6/urls.py
View file @
c521d624
...
...
@@ -21,4 +21,5 @@ urlpatterns = [
path
(
"forum/"
,
include
(
'forum.urls'
,
namespace
=
"forum"
)),
path
(
"homepage/"
,
include
(
'homepage.urls'
,
namespace
=
"homepage"
)),
path
(
'admin/'
,
admin
.
site
.
urls
),
path
(
'announcements/'
,
include
(
'announcements.urls'
,
namespace
=
"announcements"
)),
]
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