This little application just shows current Redis stats on Django's admin dashboard. Also supports django-admin-tools nicely.
- Install with
pip install -e "git+https://[email protected]/ilvar/django-redis-stats-instant.git#egg=django-redis-stats-instant"
- Add
'redis_stats'
toINSTALLED_APPS
in yoursettings
- If you're using django-admin-tools
- Just add Redis Stats module to your custom dashboard (or create a new one), as provided in our example.
- Do not forget to add your custom dashboard to
settings
:ADMIN_TOOLS_INDEX_DASHBOARD = 'redis_dashboard.CustomIndexDashboard'
- That's it. With django-admin-tools you'll have a nice widget for the dashboard, for old-fashioned django admin there will be not so nice but still reliable fake application section.