charasheet/src/party/urls.py

33 lines
1.1 KiB
Python
Raw Normal View History

2022-11-02 23:52:28 +01:00
from django.urls import path
from party import views
app_name = "party"
urlpatterns = [
path("", views.parties_list, name="list"),
path("create/", views.party_create, name="create"),
2022-11-03 00:02:28 +01:00
path("<int:pk>/", views.party_details, name="details"),
2022-11-06 14:30:17 +01:00
path("<int:pk>/change/", views.party_change, name="change"),
2022-11-06 14:07:16 +01:00
path("<int:pk>/delete/", views.party_delete, name="delete"),
2022-11-19 10:23:01 +01:00
path("<int:pk>/reset_stats/", views.party_reset_stats, name="reset_stats"),
2023-01-16 18:02:14 +01:00
path("<int:pk>/add_effect/", views.party_add_effect, name="add_effect"),
2023-01-17 11:11:07 +01:00
path(
"<int:pk>/delete_effect/<int:effect_pk>/",
views.party_delete_effect,
name="delete_effect",
),
path(
2023-02-28 12:34:45 +01:00
"<int:pk>/increase_rounds/",
views.party_increase_rounds,
name="increase_rounds",
),
path(
2023-02-28 12:34:45 +01:00
"<int:pk>/decrease_rounds/",
views.party_decrease_rounds,
name="decrease_rounds",
),
2022-11-06 14:13:30 +01:00
path("<int:pk>/leave/<int:character_pk>/", views.party_leave, name="leave"),
2022-11-06 15:35:32 +01:00
path("<int:pk>/join/<int:character_pk>/", views.party_join, name="join"),
path("<int:pk>/refuse/<int:character_pk>/", views.party_refuse, name="refuse"),
2022-11-02 23:52:28 +01:00
]