aboutsummaryrefslogtreecommitdiff
path: root/apps/notes/notebook_urls.py
blob: 8e3133e87cb6b1a53cb169ba421b73686aeebc2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from django.urls import path

from .views import (
    NotebookListView,
    NotebookDetailView,
    NotebookUpdateView,
)

app_name = "notebooks"

urlpatterns = [
    path(r'<slug>/update', NotebookUpdateView.as_view(), name='update',),
    path(r'<slug>', NotebookDetailView.as_view(), name='detail',),
    path(r'', NotebookListView.as_view(), name='list',),
]