from django.urls import path, re_path from . import views app_name = "notes" urlpatterns = [ path( r'', views.NoteListView.as_view(), {'status':None}, name="list" ), path( r'create', views.NoteCreateView.as_view(), name="create" ), path( r'', views.NoteListView.as_view(), name="status" ), path( r'/edit', views.NoteUpdateView.as_view(), name="edit" ), ]