skip to navigation
skip to content

Not Logged In

django-admin-tools-stats 0.5.1

django-admin-tools-stats - Django-admin module to create charts and stats in your dashboard

Latest Version: 0.5.5


Description:Django-admin module to create charts and stats in your dashboard

Django-admin-tools-stats is a Django admin module that allow you to create easily charts on your dashboard base on specific models and criterias.

It will query your models and provide reporting and statistics graphs, simple to read and display on your Dashboard.


Install, upgrade and uninstall django-admin-tools-stats with these commands:

$ pip install django-admin-tools-stats


django-admin-tools-stats is a django based application, the major requirements are :

  • python-dateutil>=1.5,<2.0
  • django-jsonfield==0.8
  • django-qsstats-magic>=0.6.1
  • python-memcached>=1.47
  • django-cache-utils
  • django-admin-tools>=0.5.0
  • switch2bill-common>=2.6.0
  • django-nvd3>=0.4.1


  • Configure admin_tools

  • Add admin_tools_stats & django_nvd3 into INSTALLED_APPS in

  • Add following code to

    from admin_tools_stats.modules import DashboardCharts, get_active_graph
    # append an app list module for "Country_prefix"
        _('Dashboard Stats Settings'),
        models=('admin_tools_stats.*', ),
    # Copy following code into your custom dashboard
    # append following code after recent actions module or
    # a link list module for "quick links"
    graph_list = get_active_graph()
    for i in graph_list:
        kwargs = {}
        kwargs['require_chart_jscss'] = False
        kwargs['graph_key'] = i.graph_key
        if request.POST.get('select_box_' + i.graph_key):
            kwargs['select_box_' + i.graph_key] = request.POST['select_box_' + i.graph_key]
  • Run this command:

    $ python syncdb
  • Open admin panel, configure Dashboard Stats Criteria & Dashboard Stats respectively


If you've found a bug, add a feature or improve django-admin-tools-stats and think it is useful then please consider contributing. Patches, pull requests or just suggestions are always welcome!

Source code:

Bug tracker:


Documentation is available on 'Read the Docs':


Copyright (c) 2011-2013 Star2Billing S.L. <>

django-admin-tools-stats is licensed under MIT, see MIT-LICENSE.txt.

File Type Py Version Uploaded on Size
django-admin-tools-stats-0.5.1.tar.gz (md5) Source 2013-10-11 498KB
  • Downloads (All Versions):
  • 82 downloads in the last day
  • 533 downloads in the last week
  • 1871 downloads in the last month