This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
David Cramer (author)
Mon Nov 23 11:21:13 -0800 2009
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Fri Nov 13 14:21:35 -0800 2009 | |
| |
CONTRIBUTORS | Fri Nov 13 13:56:50 -0800 2009 | |
| |
LICENSE | Thu Nov 12 13:16:14 -0800 2009 | |
| |
MANIFEST.in | Fri Nov 13 14:33:19 -0800 2009 | |
| |
README.rst | Fri Nov 20 01:36:49 -0800 2009 | |
| |
django_histograms/ | Tue Nov 24 02:08:53 -0800 2009 | |
| |
setup.py | Sat Nov 14 11:01:38 -0800 2009 |
README.rst
django-admin-histograms
To use this app simple have your ModelAdmin subclass django_histograms.admin.HistogramAdmin and give it a histogram_field attribute with the name of a DateField or DateTimeField to create the histogram over. Then you can pull up localhost:8000/your_app/your_model/report/ to see the histogram (adjust the URL as necessary).
The designs came from Wilson Miner's article on data visualization for A List Apart.
Using histograms in other pages
You can use the built-in histogram_for template tag:
{% load histograms %}
{% histogram_for appname.Model 'histogram_field' 1 1 %}







