mirror of
https://git.cmoser.eu/tinytools/django-tinywiki.git
synced 2026-02-04 06:06:33 +01:00
13 lines
392 B
Python
13 lines
392 B
Python
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'),
|
|
] |