From 3944615195e7adfcb064edd8da9a3e47e49dddef Mon Sep 17 00:00:00 2001 From: Sanasol Date: Mon, 2 Apr 2018 12:52:40 +0300 Subject: [PATCH 01/13] fix comments --- api/v1/views.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/api/v1/views.py b/api/v1/views.py index c47ce413..2782830b 100644 --- a/api/v1/views.py +++ b/api/v1/views.py @@ -341,11 +341,13 @@ class CommentViewSet(ExtendedModelViewSet): queryset = self.queryset is_deactivated = self.request.query_params.get('is_deactivated', '0') if is_deactivated == '0': - return queryset + queryset = queryset elif is_deactivated == '1': - return queryset.filter(deactivated_at__isnull=True) + queryset = queryset.filter(deactivated_at__isnull=True) elif is_deactivated == '2': - return queryset.filter(deactivated_at__isnull=False) + queryset = queryset.filter(deactivated_at__isnull=False) + + return queryset class AuthorRequestViewSet(ExtendedModelViewSet): From 8157102c145a96086ada4879d6c31fe0de21f6d8 Mon Sep 17 00:00:00 2001 From: Sanasol Date: Mon, 2 Apr 2018 13:13:39 +0300 Subject: [PATCH 02/13] fix footer year --- project/templates/lilcity/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/templates/lilcity/index.html b/project/templates/lilcity/index.html index dbdbcfe2..4e3c17e2 100644 --- a/project/templates/lilcity/index.html +++ b/project/templates/lilcity/index.html @@ -248,7 +248,7 @@