2025.09.17-19:07:57

This commit is contained in:
2025-09-17 19:07:58 +02:00
parent ff37c9cd8b
commit 38a85cb9d5
47 changed files with 1530 additions and 38 deletions

View File

@@ -1,7 +1,13 @@
from django.urls import path
from .views import *
app_name = "tinywiki"
urlpatterns = [
path("",HomeView.as_view(),name="home"),
path("toc/",TocView.as_view(),name="toc"),
path("page/<slug:slug>/",PageView.as_view(),name="page"),
path("page-create/",PageCreateView.as_view(),name="page-create"),
path("page/<slug:slug>/edit/",PageEditView.as_view(),name='page-edit'),
]