mirror of
https://github.com/evgen-app/chess_rpg_backend.git
synced 2024-11-14 13:47:09 +03:00
8 lines
257 B
Python
8 lines
257 B
Python
from django.urls import path
|
|
|
|
from game.views import CreateHeroView, RetrieveHeroView
|
|
|
|
urlpatterns = [
|
|
path("hero/", CreateHeroView.as_view(), name="hero_api_create"),
|
|
path("hero/<uuid:uuid>", RetrieveHeroView.as_view(), name="hero_api_retrieve"),
|
|
] |