forked from DGNum/gestiojeux
9 lines
246 B
Python
9 lines
246 B
Python
from django.urls import path
|
|
from .views import MarkdownPageView
|
|
|
|
app_name = "mainsite"
|
|
|
|
urlpatterns = [
|
|
path("", MarkdownPageView.as_view(), {"slug": ""}, name="home"),
|
|
path("<slug:slug>/", MarkdownPageView.as_view(), name="md_page"),
|
|
]
|