mirror of
https://github.com/daniviga/django-ram.git
synced 2025-12-26 23:38:32 +01:00
Magazine UI (#54)
* Work in progress to implement magazines and issues UI * Fully implement UI for magazines
This commit is contained in:
@@ -15,6 +15,9 @@ from portal.views import (
|
||||
Types,
|
||||
Books,
|
||||
Catalogs,
|
||||
Magazines,
|
||||
GetMagazine,
|
||||
GetMagazineIssue,
|
||||
GetBookCatalog,
|
||||
SearchObjects,
|
||||
)
|
||||
@@ -98,6 +101,31 @@ urlpatterns = [
|
||||
Books.as_view(),
|
||||
name="books_pagination"
|
||||
),
|
||||
path(
|
||||
"bookshelf/magazine/<uuid:uuid>",
|
||||
GetMagazine.as_view(),
|
||||
name="magazine"
|
||||
),
|
||||
path(
|
||||
"bookshelf/magazine/<uuid:uuid>/page/<int:page>",
|
||||
GetMagazine.as_view(),
|
||||
name="magazine_pagination",
|
||||
),
|
||||
path(
|
||||
"bookshelf/magazine/<uuid:magazine>/issue/<uuid:uuid>",
|
||||
GetMagazineIssue.as_view(),
|
||||
name="issue",
|
||||
),
|
||||
path(
|
||||
"bookshelf/magazines",
|
||||
Magazines.as_view(),
|
||||
name="magazines"
|
||||
),
|
||||
path(
|
||||
"bookshelf/magazines/page/<int:page>",
|
||||
Magazines.as_view(),
|
||||
name="magazines_pagination"
|
||||
),
|
||||
path(
|
||||
"bookshelf/<str:selector>/<uuid:uuid>",
|
||||
GetBookCatalog.as_view(),
|
||||
|
||||
Reference in New Issue
Block a user