Creditsupdates in fotoer wdigets adn hoemapge and singe site settigns page #Run MIgration 0033 #MAJOR
This commit is contained in:
@@ -303,6 +303,10 @@ class DashboardStatsViewSet(viewsets.ViewSet):
|
||||
account=account,
|
||||
created_at__gte=start_date
|
||||
)
|
||||
|
||||
# Filter by site if provided
|
||||
if site_id:
|
||||
usage_query = usage_query.filter(site_id=site_id)
|
||||
|
||||
# Get operations grouped by type
|
||||
operations_data = usage_query.values('operation_type').annotate(
|
||||
|
||||
Reference in New Issue
Block a user