You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
779 B

from django.urls import path, include
from game.views.settings.getinfo import InfoView
from game.views.settings.register import PlayerView
from game.views.settings.ranklist import RankListView
from rest_framework_simplejwt.views import (
TokenObtainPairView,
TokenRefreshView,
)
urlpatterns = [
path('token/', TokenObtainPairView.as_view(), name='settings_token'),
path('token/refresh/', TokenRefreshView.as_view(), name='settings_token_refresh'),
path("getinfo/", InfoView.as_view(), name="settings_getinfo"),
path("register/", PlayerView.as_view(), name="settings_register"),
path("acwing/", include("game.urls.settings.acwing.index")),
path("ranklist/",RankListView.as_view(),name="settings_ranklsit"),
]