from django.urls import path, re_path from . import views app_name = "gtd" urlpatterns = [ path( r'todo', views.GTDNoteTODOView.as_view(), name="note-list" ), path( r'notes', views.GTDNoteListView.as_view(), {'status':None}, name="note-list" ), path( r'notes/create', views.GTDNoteCreateView.as_view(), name="note-create" ), path( r'notes/', views.GTDNoteListView.as_view(), name="note-list-status" ), path( r'note//edit', views.GTDNoteUpdateView.as_view(), name="note-edit" ), path( r'projects', views.GTDProjectListView.as_view(), name="project-list" ), path( r'projects/create', views.GTDProjectCreateView.as_view(), name="project-create" ), path( r'projects/', views.GTDProjectDetailView.as_view(), name="project-detail" ), path( r'projects//edit', views.GTDProjectUpdateView.as_view(), name="project-edit" ), path( r'wirednote', views.WiredNoteListView.as_view(), {'status':None}, name="wirednote-list" ), path( r'wirednote/create', views.WiredNoteCreateView.as_view(), name="wirednote-create" ), path( r'wirednote/', views.WiredNoteListView.as_view(), name="wirednote-list" ), path( r'wirednote//edit', views.WiredNoteUpdateView.as_view(), name="wirednote-edit" ), path( r'post', views.WiredPostListView.as_view(), name="post-list" ), path( r'post/new', views.WiredPostNewView.as_view(), name="post-create" ), path( r'post//edit', views.WiredPostUpdateView.as_view(), name="post-edit" ), path( r'posts/todo', views.WiredPostTodoView.as_view(), name="post-todo" ), path( r'/notes', views.WiredPostNotesView.as_view(), name="post-detail" ), ]