Add Support the other website

This commit is contained in:
2025-08-14 14:24:18 +08:00
parent 31d0525cd0
commit 4994310f14
28 changed files with 3018 additions and 51 deletions

View File

@@ -42,7 +42,7 @@ def article_list(request):
articles = articles.order_by('-created_at')
# 分页
paginator = Paginator(articles, 10) # 每页显示10篇文章
paginator = Paginator(articles, 40) # 每页显示10篇文章
page_number = request.GET.get('page')
page_obj = paginator.get_page(page_number)