improve bazdid 4
This commit is contained in:
1 parent
8fd881e0ea
commit
825f2a5973
13 files changed
+585
-15
No files matched your search
@@ -97,7 +97,8 @@ class Command(BaseCommand):
|
||||
# آمار نظرسنجیها
|
||||
nazar_stats = Action.objects.filter(
|
||||
nazarDT__range=(today_start, today_end),
|
||||
grade__gt=0
|
||||
grade__gt=0,
|
||||
deleted_at__isnull=True,
|
||||
).aggregate(
|
||||
avg_grade=Avg('grade'),
|
||||
total_count=Count('id')
|
||||
|
||||
Reference in new issue
Block a user