def get_widget_template_data(self): return dict( approx_text_length=str(self.approximate_text_length), title=self.title, max_duration=approximate_minutes_from_seconds(self.maximum_reading_time), min_duration=approximate_minutes_from_seconds(self.minimum_reading_time), )
def get_widget_template_data(self): return dict(approx_game_time=approximate_minutes_from_seconds(self.duration))