2018-05-21 22:04:29 +02:00
|
|
|
from django.urls import path
|
|
|
|
|
2018-05-21 23:46:47 +02:00
|
|
|
from manuels.views import AddBookView, ListBooksView, clear_teacher_view
|
2018-05-21 22:04:29 +02:00
|
|
|
|
|
|
|
urlpatterns = [
|
2018-05-21 23:23:43 +02:00
|
|
|
path('teacher/<uuid:pk>/add', AddBookView.as_view(), name='add_book'),
|
2018-05-21 23:46:47 +02:00
|
|
|
path('teacher/<uuid:pk>', ListBooksView.as_view(), name='list_books'),
|
|
|
|
path('clear', clear_teacher_view, name='clear_teacher'),
|
2018-05-21 22:04:29 +02:00
|
|
|
]
|