childcount.dashboard_sections

Holds view logic for the dashboard.

childcount.dashboard_sections.highlight_stats_bar()[source]

Corresponds to template: dashboard_sections/highlight_stats_bar.html

This dict() is structured to easily pump into an HTML table.

childcount.dashboard_sections.nutrition_chart()[source]

Data for a pie chart of nutrition statistics.

childcount.dashboard_sections.recent_numbers()[source]

Pumps a python dict() with “columns” and “rows”(&data) which is then turned into a pretty HTML table

childcount.dashboard_sections.registration_chart()[source]

This method corresponds to the template dashboard_sections/registration_chart.html

It returns only the data needed to build the chart, which is passed to a javascript object in a JSON string using simplejson.dumps().

Previous topic

childcount.commands

Next topic

childcount.exceptions

This Page