2018-05-21 22:04:29 +02:00
|
|
|
from django.urls import path
|
|
|
|
|
2018-05-21 23:12:35 +02:00
|
|
|
from manuels.views import AddBookView, ListBooksView
|
2018-05-21 22:04:29 +02:00
|
|
|
|
|
|
|
urlpatterns = [
|
2018-05-21 23:12:35 +02:00
|
|
|
path('teacher/<int:id>/add', AddBookView.as_view(), name='add_book'),
|
|
|
|
path('teacher/<int:id>/', ListBooksView.as_view(), name='list_books'),
|
2018-05-21 22:04:29 +02:00
|
|
|
]
|