first commit
This commit is contained in:
13
timelaps/urls.py
Normal file
13
timelaps/urls.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from django.urls import path
|
||||
from django.conf.urls import url
|
||||
from .views import *
|
||||
|
||||
urlpatterns = [
|
||||
path('drivers/', ListDriverView.as_view()),
|
||||
path('races/', ListRaceView.as_view()),
|
||||
path('relays/', ListRelayView.as_view()),
|
||||
path('rules/', ListRulesView.as_view()),
|
||||
path('teams/', ListTeamView.as_view()),
|
||||
path('teampilots/', ListTeamPilotView.as_view()),
|
||||
url('race/(?P<raceid>\d+)/team/(?P<teamid>\d+)/relays', ListRelaysByRaceView.as_view()),
|
||||
]
|
||||
Reference in New Issue
Block a user