iyanuashiri/meethub

refactor: Use real data for homepage statistics

Aberta

#38 aberto em 12 de jul. de 2025

 (0 comentário) (0 reação) (0 responsável)JavaScript (56 forks)auto 404
good first issuerefactor

Métricas do repositório

Stars
 (464 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador