rcnn/backend/apps/challenges/urls.py
Marius Unsel d93412cd0d Initial commit
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 01:12:40 +02:00

15 lines
528 B
Python

from django.urls import path
from .views import (
ChallengeListCreateView,
ChallengeDetailView,
ChallengeParticipateView,
ChallengeSplatsView,
)
urlpatterns = [
path("", ChallengeListCreateView.as_view(), name="challenge-list-create"),
path("<uuid:pk>/", ChallengeDetailView.as_view(), name="challenge-detail"),
path("<uuid:pk>/participate/", ChallengeParticipateView.as_view(), name="challenge-participate"),
path("<uuid:pk>/splats/", ChallengeSplatsView.as_view(), name="challenge-splats"),
]