profile: add: game history
This commit is contained in:
@ -3,11 +3,11 @@ from django.conf import settings
|
||||
from django.conf.urls.static import static
|
||||
|
||||
from .GameViewSet import GameViewSet
|
||||
from .GameHistoryView import GameHistoryView
|
||||
from .GameHistoryViewSet import GameHistoryView
|
||||
from .GameConfigView import GameConfigView
|
||||
|
||||
urlpatterns = [
|
||||
path("<int:pk>", GameViewSet.as_view({"get": "retrieve"}), name="game_page"),
|
||||
path("history/<int:pk>", GameHistoryView.as_view(), name="history_page"),
|
||||
path("history/<int:pk>", GameHistoryView.as_view({"get": "retrive"}), name="history_page"),
|
||||
path("", GameConfigView.as_view(), name = "game_config")
|
||||
]
|
Reference in New Issue
Block a user