10 lines
183 B
Python
10 lines
183 B
Python
![]() |
from django.urls import path
|
||
|
from .views import *
|
||
|
|
||
|
|
||
|
app_name = 'books'
|
||
|
urlpatterns = [
|
||
|
path('create/', create, name='create'),
|
||
|
path('<int:id>/', retrieve, name='retrieve'),
|
||
|
]
|