def get_previous_month(self):
        end = utils.get_month_start() - relativedelta(days=1)
        end = utils.to_datetime(end)
        start = utils.get_month_start(end)
        return start, end
Returns date range for the previous full month.
dataset/ETHPy150Open caktus/django-timepiece/timepiece/reports/views.py/ReportMixin.get_previous_month