iyanuashiri/meethub

refactor: Use real data for homepage statistics

Aperta

#38 aperta il 12 lug 2025

 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (56 fork)auto 404
good first issuerefactor

Metriche repository

Star
 (464 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor