gestiojeux/website/urls.py

10 lines
245 B
Python
Raw Normal View History

from django.urls import path
from .views import MarkdownPageView
2020-12-27 12:48:08 +01:00
app_name = "website"
urlpatterns = [
path("", MarkdownPageView.as_view(), {"slug": ""}, name="home"),
path("<slug:slug>/", MarkdownPageView.as_view(), name="md_page"),
]