An adminstrative charting tool for statistics in Django
Project description
Django Admin Stats allows you to create and display charts of your data using the django admin. It uses c3 to display charts.
Features
Supports generating statistics from django models and from trackstats metrics.
Also allows for custom statistics generation by making your own Registration subclass.
Nice JavaScript charts with c3, falls back to a plain table without JavaScript.
Limitations
One dimension/axis of the chart is always the date. There’s no way to specify a chart that isn’t “by date”.
There’s no way to add filters to criteria on charts. The recommended workaround is to use trackstats and store those stats separately.
Installation
Installation is straightforward. Install django-adminstats with pip, and then add 'django_adminstats', to your INSTALLED_APPS setting. You’ll also want to register some models or trackstat metrics (see Example Code).
Example Code
See tests/models.py.
Demo
Just run make demo and log in with user admin and password admin.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for django_adminstats-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d76746ce69a9308d4810a48d71e50147e8659dffa9140dee4f5e74b4939e68b9 |
|
MD5 | a6fe4d8b5b3f13472ff9d223b51a279f |
|
BLAKE2b-256 | 065cbe86dbc2427eaee5c14af2c500deffe83149143727b1351e886e442286c1 |