39004-vm/core/urls.py
2026-03-05 11:04:00 +00:00

24 lines
688 B
Python

from django.urls import path
from .views import (
character_create,
character_detail,
home,
inventory_view,
item_detail,
quest_detail,
quest_list,
story_view,
)
urlpatterns = [
path("", home, name="home"),
path("character/create/", character_create, name="character_create"),
path("character/<int:pk>/", character_detail, name="character_detail"),
path("story/", story_view, name="story"),
path("quests/", quest_list, name="quest_list"),
path("quests/<int:pk>/", quest_detail, name="quest_detail"),
path("inventory/", inventory_view, name="inventory"),
path("inventory/item/<int:pk>/", item_detail, name="item_detail"),
]