mirror of
https://github.com/narrrl/holy-flavor-rater.git
synced 2026-11-03 16:41:27 +01:00
Merge branch 'main' into narl.io
This commit is contained in:
commit
76b4cea296
1 file changed
+1
@@ -689,6 +689,7 @@ class BannerViewSet(viewsets.ModelViewSet):
|
||||
queryset = Banner.objects.all()
|
||||
serializer_class = BannerSerializer
|
||||
permission_classes = [permissions.IsAuthenticatedOrReadOnly]
|
||||
pagination_class = None
|
||||
|
||||
def get_permissions(self):
|
||||
if self.action in ['list', 'retrieve', 'active']:
|
||||
|
||||
Reference in new issue
Block a user