game: add: config

This commit is contained in:
2023-12-28 15:21:02 +01:00
parent 5db03a3c69
commit 072944c503
3 changed files with 34 additions and 0 deletions

View File

@ -3,7 +3,9 @@ from django.conf import settings
from django.conf.urls.static import static
from .viewset import GameViewSet
from .views import GameConfigView
urlpatterns = [
path("<int:pk>", GameViewSet.as_view({"get": "retrieve"}), name="game_page"),
path("", GameConfigView.as_view(), name = "game_config")
]