15 lines
528 B
Python
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"),
|
|
]
|