fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new login api
[wolnelektury.git]
/
src
/
social
/
api
/
views.py
diff --git
a/src/social/api/views.py
b/src/social/api/views.py
index
ff6a08f
..
a299304
100644
(file)
--- a/
src/social/api/views.py
+++ b/
src/social/api/views.py
@@
-1,5
+1,5
@@
-# This file is part of Wolne
l
ektury, licensed under GNU Affero GPLv3 or later.
-# Copyright © Fundacja
Nowoczesna Polska
. See NOTICE for more information.
+# This file is part of Wolne
L
ektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja
Wolne Lektury
. See NOTICE for more information.
#
from django.http import Http404
from rest_framework.generics import ListAPIView, get_object_or_404
#
from django.http import Http404
from rest_framework.generics import ListAPIView, get_object_or_404
@@
-36,6
+36,7
@@
class LikeView(APIView):
class ShelfView(ListAPIView):
permission_classes = [IsAuthenticated]
serializer_class = BookSerializer
class ShelfView(ListAPIView):
permission_classes = [IsAuthenticated]
serializer_class = BookSerializer
+ pagination_class = None
def get_queryset(self):
state = self.kwargs['state']
def get_queryset(self):
state = self.kwargs['state']