mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-07-19 23:51:25 +02:00
16 lines
710 B
Python
16 lines
710 B
Python
# Copyright (C) 2018-2025 by BDE ENS Paris-Saclay
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
from django.urls import path
|
|
|
|
from .views import FamilyListView, FamilyDetailView, ChallengeListView, ChallengeDetailView, ChallengeUpdateView
|
|
|
|
app_name = 'family'
|
|
urlpatterns = [
|
|
path('list/', FamilyListView.as_view(), name="family_list"),
|
|
path('detail/<int:pk>/', FamilyDetailView.as_view(), name="family_detail"),
|
|
path('challenge/list/', ChallengeListView.as_view(), name="challenge_list"),
|
|
path('challenge/detail/<int:pk>/', ChallengeDetailView.as_view(), name="challenge_detail"),
|
|
path('challenge/update/<int:pk>/', ChallengeUpdateView.as_view(), name="challenge_update"),
|
|
]
|