--wip-- [skip ci]

This commit is contained in:
2026-04-02 10:13:19 +02:00
parent dd936473d8
commit 9c71dc1e47
26 changed files with 650 additions and 343 deletions

36
course_calendar/urls.py Normal file
View 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",
),
]