Commit 738d4501 authored by Michal Čihař's avatar Michal Čihař

Remove not needed wrappers

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 70ea6d80
......@@ -106,18 +106,6 @@ class ChangeManager(models.Manager):
return self.count_stats(days, step, dtstart, base)
def month_stats(self, *args, **kwargs):
'''
Reports daily stats for changes.
'''
return self.base_stats(30, 1, *args, **kwargs)
def year_stats(self, *args, **kwargs):
'''
Reports monthly stats for changes.
'''
return self.base_stats(365, 7, *args, **kwargs)
def prefetch(self):
'''
Fetches related fields in a big chungs to avoid loading them
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment