manuels-scolaires/manuels/urls.py

9 lines
251 B
Python
Raw Normal View History

from django.urls import path
2018-05-21 23:12:35 +02:00
from manuels.views import AddBookView, ListBooksView
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'),
]