]> git.0d.be Git - chloro.git/blobdiff - chloro/phyll/urls.py
views: add page to list notes by tag
[chloro.git] / chloro / phyll / urls.py
index 14188107cd618c53a4cc6d0566bddd6eca886b79..13c70bae5c5626764be016c64e7657650a311a97 100644 (file)
@@ -39,6 +39,7 @@ urlpatterns = [
         staff_member_required(views.NoteDeleteView.as_view(), login_url='login'),
     ),
     url(r'^new-note/$', staff_member_required(views.NoteAddView.as_view(), login_url='login')),
+    url(r'^tag/(?P<tag>[\w:-]+)/$', views.ListOnTagView.as_view()),
     url(r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/(?P<slug>[\w:-]+)/$', views.NoteView.as_view()),
     url(r'^(?P<slug>[\w:-]+)/$', views.NoteView.as_view()),
     url(r'^$', views.HomeView.as_view()),