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',),
]
|