Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_someone here is possessed by an owl
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
Laetitia de Castro
widget_someone here is possessed by an owl
Commits
8b68cdd3
Commit
8b68cdd3
authored
May 23, 2022
by
Titia de Castro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added details url to announcements urls
parent
d62ea444
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
1 deletion
+2
-1
urls.cpython-310.pyc
announcements/__pycache__/urls.cpython-310.pyc
+0
-0
views.cpython-310.pyc
announcements/__pycache__/views.cpython-310.pyc
+0
-0
urls.py
announcements/urls.py
+2
-1
db.sqlite3
db.sqlite3
+0
-0
No files found.
announcements/__pycache__/urls.cpython-310.pyc
View file @
8b68cdd3
No preview for this file type
announcements/__pycache__/views.cpython-310.pyc
View file @
8b68cdd3
No preview for this file type
announcements/urls.py
View file @
8b68cdd3
from
django.urls
import
path
from
django.urls
import
path
from
.views
import
index
from
.views
import
index
,
AnnouncementDetailView
urlpatterns
=
[
urlpatterns
=
[
path
(
''
,
index
,
name
=
'index'
),
path
(
''
,
index
,
name
=
'index'
),
path
(
'<int:pk>/details'
,
AnnouncementDetailView
.
as_view
(),
name
=
'announcement-details'
),
]
]
app_name
=
'announcements'
app_name
=
'announcements'
\ No newline at end of file
db.sqlite3
View file @
8b68cdd3
No preview for this file type
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