mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 05:07:50 +02:00
* Implement an action do download data in csv * Refactor CSV download * Move price to main models and add csv to bookshelf * Update template and API * Small refactoring
10 lines
323 B
Python
10 lines
323 B
Python
from django.urls import path
|
|
from bookshelf.views import BookList, BookGet, CatalogList, CatalogGet
|
|
|
|
urlpatterns = [
|
|
path("book/list", BookList.as_view()),
|
|
path("book/get/<uuid:uuid>", BookGet.as_view()),
|
|
path("catalog/list", CatalogList.as_view()),
|
|
path("catalog/get/<uuid:uuid>", CatalogGet.as_view()),
|
|
]
|