--wip-- [skip ci]
This commit is contained in:
36
course_calendar/urls.py
Normal file
36
course_calendar/urls.py
Normal file
@@ -0,0 +1,36 @@
|
||||
from django.urls import path
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path("", views.calendar, name="calendar_view"),
|
||||
path(
|
||||
"occurrence/<int:occurrence_id>/",
|
||||
views.occurrence_detail,
|
||||
name="occurrence_detail",
|
||||
),
|
||||
path(
|
||||
"api/calendar/events/",
|
||||
views.get_all_events,
|
||||
name="get_all_events",
|
||||
),
|
||||
path(
|
||||
"api/calendar/occurrences/",
|
||||
views.get_calendar_occurrences,
|
||||
name="get_calendar_occurrences",
|
||||
),
|
||||
path(
|
||||
"api/calendar/occurrences/<int:occurrence_id>/",
|
||||
views.get_calendar_occurrence,
|
||||
name="get_calendar_occurrence",
|
||||
),
|
||||
path(
|
||||
"occurrence/<int:occurrence_id>/signup/",
|
||||
views.occurrence_signup,
|
||||
name="occurrence_signup",
|
||||
),
|
||||
path(
|
||||
"occurrence/<int:occurrence_id>/signout/",
|
||||
views.occurrence_signout,
|
||||
name="occurrence_signout",
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user