2023-12-28 05:33:06 -05:00
|
|
|
from django.urls import path, re_path
|
|
|
|
from django.conf import settings
|
|
|
|
from django.conf.urls.static import static
|
|
|
|
|
|
|
|
from .viewset import GameViewSet
|
2023-12-28 09:21:02 -05:00
|
|
|
from .views import GameConfigView
|
2023-12-28 05:33:06 -05:00
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path("<int:pk>", GameViewSet.as_view({"get": "retrieve"}), name="game_page"),
|
2023-12-28 09:21:02 -05:00
|
|
|
path("", GameConfigView.as_view(), name = "game_config")
|
2023-12-28 05:33:06 -05:00
|
|
|
]
|