Skip to main content

django-admin-tools dashboard modules with user registration stats

Project description

This app provides django-admin-tools dashboard modules with user registration stats/charts.

The license is MIT.

Installation

Make sure django-admin-tools >= 0.4.0 is installed and then

pip install "django-qsstats-magic >= 0.6.1"
pip install "python-dateutil==1.5"
pip install "django-chart-tools >= 0.2.1"
pip install django-admin-user-stats

Then add ‘admin_user_stats’ and ‘chart_tools’ to INSTALLED_APPS.

Quickstart

Import RegistrationCharts dashboard module:

from admin_user_stats.modules import RegistrationCharts

then and add it to dashboard’s children:

self.children += [RegistrationCharts()]

go to admin and enjoy the result.

Usage

RegistrationChart

Dashboard module with user registration charts (new users per day, week or month).

To enable, import it:

from admin_user_stats.modules import RegistrationChart

and add to dashboard’s children (or to modules.Group):

self.children += [RegistrationChart('New Users', interval='days', days=30)]

RegistrationCharts

Group subclass with 3 default children modules (new users per day, per week and per month).

get_registration_charts()

A function returning 3 default RegistrationChart instances:

from admin_user_stats.modules import get_registration_charts
self.children += get_registration_charts()

Contributing

Development of django-admin-user-stats happens at Bitbucket and Github:

If you don’t like Bitbucket, Github, Mercurial and Git you’re welcome to send regular patches.

Bug tracker: https://github.com/kmike/django-admin-user-stats/issues

Project details


Download files

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

Source Distribution

django-admin-user-stats-0.1.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file django-admin-user-stats-0.1.tar.gz.

File metadata

File hashes

Hashes for django-admin-user-stats-0.1.tar.gz
Algorithm Hash digest
SHA256 7c64cd417ad277826c776fd44db4fa237792bdf601a14978a07701f54d8f98ea
MD5 a6ea92968a2f6b302c9f17023db171a1
BLAKE2b-256 c746dc532d360cf365c372a10423c3c29f26f9a7bde5519885c0cf10f6f14c52

See more details on using hashes here.

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