9 lines
195 B
Python
9 lines
195 B
Python
from django.urls import path
|
|
|
|
from races.views import index, race_detail
|
|
|
|
urlpatterns = [
|
|
path('', index, name='races_index'),
|
|
path('race/<race_id>/', race_detail, name='race_detail'),
|
|
]
|