1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-24 08:22:22 +00:00
nk20/apps/activity/urls.py

19 lines
762 B
Python
Raw Normal View History

2020-03-01 16:16:38 +00:00
# Copyright (C) 2018-2020 by BDE ENS Paris-Saclay
# SPDX-License-Identifier: GPL-3.0-or-later
from django.urls import path
from . import views
app_name = 'activity'
2020-03-26 23:40:35 +00:00
2020-03-01 16:16:38 +00:00
urlpatterns = [
2020-03-26 23:40:35 +00:00
path('', views.ActivityListView.as_view(), name='activity_list'),
path('<int:pk>/', views.ActivityDetailView.as_view(), name='activity_detail'),
2020-03-27 18:16:38 +00:00
path('<int:pk>/invite/', views.ActivityInviteView.as_view(), name='activity_invite'),
2020-03-26 23:40:35 +00:00
path('<int:pk>/entry/', views.ActivityEntryView.as_view(), name='activity_entry'),
path('<int:pk>/update/', views.ActivityUpdateView.as_view(), name='activity_update'),
path('new/', views.ActivityCreateView.as_view(), name='activity_create'),
2020-09-04 16:36:20 +00:00
path('calendar.ics', views.CalendarView.as_view(), name='calendar_ics'),
2020-03-01 16:16:38 +00:00
]