@user_required
def get(self, user):
    return {'exercise': models.ExerciseLog.exercise_count(user, (datetime.now() - timedelta(days=7)), (datetime.now() + timedelta(days=7))), 'review': models.ExerciseLog.review_count(user, (datetime.now() - timedelta(days=7)), (datetime.now() + timedelta(days=7)))}
@user_required
def get(self, user):
    return {'exercise': models.ExerciseLog.exercise_count(user, (datetime.now() - timedelta(days=7)), (datetime.now() + timedelta(days=7))), 'review': models.ExerciseLog.review_count(user, (datetime.now() - timedelta(days=7)), (datetime.now() + timedelta(days=7)))}