add drf_spectacular, type and serialize channel app

This commit is contained in:
Simon
2025-02-09 17:41:12 +07:00
parent 93406ee0a4
commit df5a5cf449
9 changed files with 305 additions and 63 deletions

View File

@@ -106,7 +106,7 @@ class Pagination:
page_get = self.page_get
page_from = 0
if page_get in [0, 1]:
prev_pages = False
prev_pages = None
elif page_get > 1:
page_from = (page_get - 1) * self.page_size
prev_pages = [