]> git.p6c8.net - pcdenotes.git/blob - notes/urls.py
Now we can list the months in archive
[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 path('archive/', views.archive_main, name='archive_main'),
11 path('archive/<int:archive_year>/', views.archive_year, name='archive_year'),
12 path('archive/<int:archive_year>/<int:archive_month>/', views.archive_month, name='archive_month'),
13 ]

patrick-canterino.de