mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-04 22:03:56 +01:00
32 lines
1 KiB
Python
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",
|
|
),
|
|
]
|