Skip to main content

An adminstrative charting tool for statistics in Django

Project description

Build Status Coverage Status Project on PyPI

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

django_adminstats-0.3.0-py3-none-any.whl (143.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page