开发者

How to use or extend Django admin to navigate thru aggregated data?

I would like to know how could I extend Django admin in order to be able to navigate the records using aggregated data.

For example: browse data aggregated by date, month, day, day of the week and see average, max/min or total开发者_开发问答 for other fields.


You can extend the admin templates to add some charts / reports above the normal changelist, changeform, etc (using model methods or something else).

Also, checkout databrowse. I've not used it, but it might provide an easier way to add aggregation.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜