Generateurv2/backend/api/room/urls.py

11 lines
383 B
Python
Raw Normal View History

2022-05-18 10:15:54 +02:00
from django.conf.urls import include
from django.urls import path
from .views import RoomAPI, ParcoursAPI, RoomExist, ChallengeAPI, getCorrectionInfo
urlpatterns = [
path('room/', RoomAPI.as_view()),
path('parcours/', ParcoursAPI.as_view()),
path('room/<str:id_code>', RoomExist),
path('correct/', getCorrectionInfo),
path('challenge/', ChallengeAPI.as_view())
]