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/', RoomExist), path('correct/', getCorrectionInfo), path('challenge/', ChallengeAPI.as_view()) ]