]> git.p6c8.net - pcdenotes.git/blob - notes/urls.py
Redirect /notes/ to /
[pcdenotes.git] / notes / urls.py
1 from django.urls import path, re_path
2 from . import views
3
4 app_name = 'notes'
5
6 urlpatterns=[
7 path('', views.note_list, name='note_list'),
8 re_path('^notes/?$', views.note_redirect, name='note_redirect'),
9 path('notes/<slug:note_slug>', views.note_detail, name='note_detail'),
10 ]

patrick-canterino.de