7 lines
145 B
Python
7 lines
145 B
Python
|
from django.urls import path
|
||
|
from .views import *
|
||
|
|
||
|
urlpatterns = [
|
||
|
path('books', api_all_books),
|
||
|
path('books/<int:_id>', api_get_book),
|
||
|
]
|