charasheet/src/character/urls.py

32 lines
1 KiB
Python

from django.urls import path
from character import views
app_name = "character"
urlpatterns = [
path("<int:pk>/", views.character_view, name="view"),
path("<int:pk>/health_change", views.character_health_change, name="health_change"),
path("<int:pk>/mana_change", views.character_mana_change, name="mana_change"),
path(
"<int:pk>/recovery_points_change",
views.character_recovery_points_change,
name="recovery_points_change",
),
path(
"<int:pk>/luck_points_change",
views.character_luck_points_change,
name="luck_points_change",
),
path("<int:pk>/notes_change", views.character_notes_change, name="notes_change"),
path("<int:pk>/get_defense", views.character_get_defense, name="get_defense"),
path(
"<int:pk>/defense_misc_change",
views.character_defense_misc_change,
name="defense_misc_change",
),
path(
"<int:pk>/equipment_change",
views.character_equipment_change,
name="equipment_change",
),
]