From f5ef9d42ebe7b2be932b35db7c5d801e9cfeb2c1 Mon Sep 17 00:00:00 2001 From: Bobby Date: Mon, 10 Mar 2025 21:22:04 +0530 Subject: refactor code; add genre colors; rename video player class --- internal/admin_utilities.py | 0 internal/auth_utilities.py | 0 internal/cache_utils.py | 0 internal/mal_wrapper.py | 0 internal/pagoda_utilities.py | 0 internal/weblog_utilities.py | 2 +- 6 files changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 internal/admin_utilities.py mode change 100755 => 100644 internal/auth_utilities.py mode change 100755 => 100644 internal/cache_utils.py mode change 100755 => 100644 internal/mal_wrapper.py mode change 100755 => 100644 internal/pagoda_utilities.py mode change 100755 => 100644 internal/weblog_utilities.py (limited to 'internal') diff --git a/internal/admin_utilities.py b/internal/admin_utilities.py old mode 100755 new mode 100644 diff --git a/internal/auth_utilities.py b/internal/auth_utilities.py old mode 100755 new mode 100644 diff --git a/internal/cache_utils.py b/internal/cache_utils.py old mode 100755 new mode 100644 diff --git a/internal/mal_wrapper.py b/internal/mal_wrapper.py old mode 100755 new mode 100644 diff --git a/internal/pagoda_utilities.py b/internal/pagoda_utilities.py old mode 100755 new mode 100644 diff --git a/internal/weblog_utilities.py b/internal/weblog_utilities.py old mode 100755 new mode 100644 index 6721fdc8..d1ce6158 --- a/internal/weblog_utilities.py +++ b/internal/weblog_utilities.py @@ -23,7 +23,7 @@ class ShifooHighlight(Style): ) -def recent_weblogs(lang="en", amount=10): +def recent_weblogs(lang="en", amount=3): queryset = ( Post.objects.filter(is_public=True, author__username=AUTHOR_USERNAME) .prefetch_related( -- cgit v1.2.3