Metadata-Version: 1.1
Name: django-admin-tools-stats
Version: 0.4.4
Summary: django-admin-tools-stats is a django application which powers dashboard modules with customer stats and charts
Home-page: http://github.com/Star2Billing/django-admin-tools-stats
Author: Belaid Arezqui
Author-email: areski@gmail.com
License: MIT License
Description: ========================
        django-admin-tools-stats
        ========================
        
        
        Django-admin-tools-stats is a Django application which powers dashboard modules with customer statistics and charts.
        
        The goal of this project is to quickly interrogate your model data to provide reports and statistics graphs which are simple to read and can be used on a Dashboard.
        
        
        
        Installation
        ============
        
        Install Django-admin-tools-stats::
        
            python setup.py install
        
        
        Dependencies
        ============
        
        django-admin-tools-stats is a django based application, so the major requirements are :
        
            - python >= 2.4
            - Apache / http server with WSGI modules
            - Django Framework >= 1.3
            - python-dateutil >= 1.5
            - django-qsstats-magic >= 0.6.1
            - django-chart-tools >= 0.2.1
            - django-jsonfield >= 0.6
            - python-memcached >= 1.47
            - django-admin-tools
            - django-cache-utils
        
        
        Configure
        =========
        
        - Configure ``admin_tools``
        - Add ``admin_tools_stats`` & ``chart_tools`` into INSTALLED_APPS in settings.py::
        
            INSTALLED_APPS = (
                ...
                'admin_tools_stats',
                'chart_tools',
                ...)
        
        - Add following code to dashboard.py::
        
            from admin_tools_stats.modules import DashboardCharts, get_active_graph
        
            # append an app list module for "Country_prefix"
            self.children.append(modules.AppList(
                _('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['chart_size'] = "260x100" # uncomment this option to fix your graph size
                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]
        
        
                self.children.append(DashboardCharts(**kwargs))
        
        - Do ``manage.py syncdb``
        - Open admin panel, configure ``Dashboard Stats Criteria`` & ``Dashboard Stats respectively``
        
        
        Screenshot
        ==========
        
        .. image:: https://github.com/Star2Billing/django-admin-tools-stats/raw/master/docs/source/_static/admin_dashboard.png
        
        
        Contributing
        ============
        
        If you've found a bug, implemented a feature or customized the template and
        think it is useful then please consider contributing. Patches, pull requests or
        just suggestions are welcome!
        
        Source code: http://github.com/Star2Billing/django-admin-tools-stats
        
        
        If you don’t like Github and Git you’re welcome to send regular patches.
        
        Bug tracker: https://github.com/Star2Billing/django-admin-tools-stats/issues
        
        
        Documentation
        =============
        
        Documentation is available on 'Read the Docs':
        http://readthedocs.org/docs/django-admin-tools-stats/
        
        
        Credit
        ======
        
        Django-audiofield is a Star2Billing-Sponsored Community Project, for more information visit
        http://www.star2billing.com  or email us at info@star2billing.com
        
        
        License
        =======
        
        Copyright (c) 2011-2012 Star2Billing S.L. <info@star2billing.com>
        
        django-audiofield is licensed under MIT, see `MIT-LICENSE.txt`.
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
