-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.py
19 lines (17 loc) · 1.09 KB
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from django.urls import path
from . import views
urlpatterns = [
path('update_collection/', views.UpdateCollectionView.as_view(), name='update_collection'),
path('update_plays/', views.UpdatePlaysView.as_view(), name='update_plays'),
path('games/<int:game_id>/', views.GameView.as_view(), name='game'),
path('games/', views.GameIndexView.as_view(), name='game_index'),
path('categories/<int:category_id>/', views.CategoryView.as_view(), name='category'),
path('categories/', views.CategoryIndexView.as_view(), name='categories_index'),
path('mechanics/<int:mechanic_id>/', views.MechanicView.as_view(), name='mechanic'),
path('mechanics/', views.MechanicIndexView.as_view(), name='mechanics_index'),
path('statistics/', views.BoardGameStatisticsView.as_view(), name='statistics'),
path('plays/<int:play_id>/', views.PlayView.as_view(), name='play'),
path('plays/', views.PlayIndexView.as_view(), name='play_index'),
path('players/<int:player_id>/', views.PlayerView.as_view(), name='player'),
path('players/', views.PlayerIndexView.as_view(), name='player_index'),
]