Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_aguandhischipmunks
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
Adrian Lance Damalerio
midterm_aguandhischipmunks
Commits
f8f193ff
Commit
f8f193ff
authored
May 14, 2023
by
Jan Ericsson Ong Ang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edited urls.py
parent
bd235cfd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
calendar.html
...t_aguandhischipmunks/calendar_app/templates/calendar.html
+3
-1
urls.py
widget_aguandhischipmunks/calendar_app/urls.py
+3
-3
No files found.
widget_aguandhischipmunks/calendar_app/templates/calendar.html
View file @
f8f193ff
...
...
@@ -12,7 +12,9 @@
<button
type=
"button"
onclick=
"window.location.href='/calendar/events/add/'"
>
<a
>
New Activity
</a>
</button><br>
</button>
<br>
<br>
<a
href=
"dashboard/"
>
Dashboard
</a><br>
<a
href=
"announcements/"
>
Announcements
</a><br>
...
...
widget_aguandhischipmunks/calendar_app/urls.py
View file @
f8f193ff
...
...
@@ -4,8 +4,8 @@ from . import views
# url for calendar
urlpatterns
=
[
path
(
''
,
views
.
calendar_view
,
name
=
'calendar'
),
path
(
'add/'
,
views
.
EventAddListView
.
as_view
(),
name
=
"event-add"
),
path
(
'<int:pk>/details/'
,
views
.
EventDetailView
.
as_view
(),
name
=
'event-details'
),
path
(
'<int:pk>/edit/'
,
views
.
EventEditView
.
as_view
(),
name
=
'event-edit'
),
path
(
'
events/
add/'
,
views
.
EventAddListView
.
as_view
(),
name
=
"event-add"
),
path
(
'
events/
<int:pk>/details/'
,
views
.
EventDetailView
.
as_view
(),
name
=
'event-details'
),
path
(
'
events/
<int:pk>/edit/'
,
views
.
EventEditView
.
as_view
(),
name
=
'event-edit'
),
]
app_name
=
"calendar"
\ 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