first commit

This commit is contained in:
2019-01-13 22:35:24 +01:00
commit ff0e2213f3
58 changed files with 892 additions and 0 deletions

13
timelaps/urls.py Normal file
View 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()),
]