mirror of
https://github.com/evgen-app/chess_rpg_backend.git
synced 2024-11-15 06:08:55 +03:00
10 lines
351 B
Python
10 lines
351 B
Python
from django.urls import path
|
|
|
|
from game.views import CreateHeroView, RetrieveHeroView, PlayerCreateView
|
|
|
|
urlpatterns = [
|
|
path("hero/", CreateHeroView.as_view(), name="hero_api_create"),
|
|
path("hero/<uuid:uuid>", RetrieveHeroView.as_view(), name="hero_api_retrieve"),
|
|
path("player/", PlayerCreateView.as_view(), name="player_create_api"),
|
|
]
|