iyanuashiri/meethub

refactor: Use real data for homepage statistics

开放

#38 创建于 2025年7月12日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (56 个派生)auto 404
good first issuerefactor

仓库指标

星标
 (464 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

The HomePageView in meethub/accounts/views.py uses hardcoded numbers for stats like "Total Events" and "Total Groups". Let's update the view to query the database for these numbers.

Acceptance Criteria:

  1. Remove the hardcoded numbers from get_total_events, get_total_groups, etc.
  2. Implement the actual database queries to get these counts.
  3. The homepage displays the correct, dynamic statistics.

贡献者指南