mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 03:49:24 +00:00
More readable user_account
This commit is contained in:
@ -427,10 +427,10 @@ class UserAccountView(UserAccountBase):
|
||||
date__year=month.year,
|
||||
date__month=month.month
|
||||
)
|
||||
stats[i].append((
|
||||
sum([calc(p) for p in q]),
|
||||
month
|
||||
))
|
||||
stats[i].append({
|
||||
'sum':sum([calc(p) for p in q]),
|
||||
'date':month
|
||||
})
|
||||
i += 1
|
||||
return stats
|
||||
|
||||
|
Reference in New Issue
Block a user