]> git.p6c8.net - pcdenotes.git/blob - notes/urls.py
560e8f5a3670b0b99ebbbc8839c52464999fa9f7
[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