2022-12-31 13:18:27 +00:00
|
|
|
from django.urls import path
|
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
2023-01-04 16:22:36 +00:00
|
|
|
path("", views.index, name="index"),
|
2022-12-31 13:18:27 +00:00
|
|
|
path("add-game/", views.add_game, name="add_game"),
|
2023-01-04 16:23:34 +00:00
|
|
|
path("add-platform/", views.add_platform, name="add_platform"),
|
2022-12-31 13:18:27 +00:00
|
|
|
path("add-session/", views.add_session, name="add_session"),
|
2023-01-04 18:19:49 +00:00
|
|
|
path(
|
|
|
|
"update-session/by-session/<int:session_id>",
|
|
|
|
views.update_session,
|
|
|
|
name="update_session",
|
|
|
|
),
|
2022-12-31 13:18:27 +00:00
|
|
|
path("add-purchase/", views.add_purchase, name="add_purchase"),
|
|
|
|
path("list-sessions/", views.list_sessions, name="list_sessions"),
|
2023-01-03 18:03:30 +00:00
|
|
|
path(
|
|
|
|
"list-sessions/by-purchase/<int:purchase_id>",
|
|
|
|
views.list_sessions,
|
|
|
|
name="list_sessions",
|
|
|
|
),
|
2022-12-31 13:18:27 +00:00
|
|
|
]
|