<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def widgets(self):
 """Get the items."""

        widgets = []
        for i, chart in enumerate(most_visited_pages_charts()):
            widgets.append(Widget(html_id='most_visited_chart_%d' % i,
                                  content=json.dumps(chart),
                                  template='meerkat/widgets/highcharts.html',
                                  js_code=['plotOptions.tooltip.pointFormatter']))

        return widgets