Ajout de liaisons nommées dans les models

This commit is contained in:
2019-01-16 00:34:20 +01:00
parent ce12cf5988
commit f94136469f
3 changed files with 8 additions and 7 deletions

View File

@@ -8,6 +8,6 @@ urlpatterns = [
path('relays/', ListRelayView.as_view()),
path('rules/', ListRulesView.as_view()),
path('teams/', ListTeamView.as_view()),
path('teampilots/', ListTeamPilotView.as_view()),
path('engagedpilots/', ListEngagedPilotView.as_view()),
url('race/(?P<raceid>\d+)/team/(?P<teamid>\d+)/relays', ListRelaysByRaceAndTeamView.as_view()),
]