gestiojeux/website/urls.py
sinavir c01ed7cb47 style(pre-commit): Add hook
Python:
- black
- isort (black profile)
- ruff

Nix:
- statix
- nixfmt-rfc-style
- deadnix
2024-07-04 20:47:46 +02:00

10 lines
246 B
Python

from django.urls import path
from .views import MarkdownPageView
app_name = "website"
urlpatterns = [
path("", MarkdownPageView.as_view(), {"slug": ""}, name="home"),
path("<slug:slug>/", MarkdownPageView.as_view(), name="md_page"),
]