https://github.com/callowayproject/dashboardmods
A collection of Dashboard modules for Django Admin Tools, ncludes dashboards for Memcache statistics, Varnish statistics, and RSS dashboard creation via models.
https://github.com/callowayproject/dashboardmods
Last synced: 3 months ago
JSON representation
A collection of Dashboard modules for Django Admin Tools, ncludes dashboards for Memcache statistics, Varnish statistics, and RSS dashboard creation via models.
- Host: GitHub
- URL: https://github.com/callowayproject/dashboardmods
- Owner: callowayproject
- License: other
- Created: 2010-09-27T18:02:14.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2012-01-11T16:32:50.000Z (over 14 years ago)
- Last Synced: 2026-01-05T05:30:48.964Z (6 months ago)
- Language: Python
- Homepage:
- Size: 609 KB
- Stars: 29
- Watchers: 7
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
==============
Dashboard Mods
==============
Dashboard Mods is a set of ``DashboardModule``\ s for
`django-admin-tools `_\ .
Changes
=======
**0.2** Updated to support Django Admin Tools 0.4.0
Installation
============
Using PIP::
pip install dashboardmods
or download the app `here `_ ::
python setup.py install
Add **dashboardmods** to your settings **INSTALLED_APPS**::
INSTALLED_APPS = (
...
'dashboardmods',
...
)
MemcacheDashboardModule
=======================
Displays a bar graph of memory usage, hit/miss ratio and uptime for each memcache server configured in Django's settings.
To enable, simply add::
from dashboardmods import get_memcache_dash_modules
at the top of the page and in the ``__init__`` method add::
self.children.extend(get_memcache_dash_modules())
If no memcache servers are configured, nothing happens.
VarnishDashboardModule
======================
Displays a bar graph of memory usage and hit/miss ratios for each Varnish server configured in ``VARNISH_MANAGEMENT_ADDRS``\ . It uses
`python-varnish `_ for communication. See its docs for more information on setup and installation of ``python-varnish``\ .
To enable, simply add::
from dashboardmods import get_varnish_dash_modules
at the top of the page and in the ``__init__`` method add::
self.children.extend(get_varnish_dash_modules())
If no Varnish servers are configured, nothing happens.
RSSDashboardModule
==================
This is a model that allows the dynamic input of RSS feeds to appear as a ``DashboardModule``\ .
To enable, add ``dashboardmods`` to your ``INSTALLED_APPS`` and ``./manage.py syncdb``\ .
Then add::
from dashboardmods import get_rss_dash_modules
at the top of the page and in the ``__init__`` method add::
self.children.extend(get_rss_dash_modules())
If no ``RSSDashboardModule`` records are entered, nothing happens. As soon as one is entered, the ``DashboardModule`` is immediately available.