Memcache admin for Django.
Project description
Memcache admin for Django.
Show cluster information, optionally auto-updated.
Show a server’s statistics.
Show a server’s slabs.
Flush the cluster.
…more to come!
This module is still in alpha status: more testing is needed, and changes can be made without regard to backwards compatibility.
Install
Install via pip:
pip install django-memcache-admin
Add memcache_admin to INSTALLED_APPS in your settings.py file.
Update the database:
python manage.py syncdb
The application will now be available in the admin panel.
Permissions
To use this module, a user must have access to the Django admin panel and have change permissions on the memcache_admin | Memcache Dashboard model.
Setting add or delete permissions has no effect, they are always false.
Settings
In your settings.py file, you can add a dictionary called MEMCACHE_ADMIN.
The following key/value settings are available:
REFRESH_RATE : integer — Sets the auto-update refresh rate in milliseconds for the server information in the dashboard. Note that auto-updating must still be activated in the dashboard for this to take effect. If set to None, refreshing will be disabled (unavailable in the dashboard interface). Default is 5000 milliseconds (5 seconds).
Compatibility
Django 1.6 and up.
For best results, python-memcached should be used.
pylibmc can be used, but not all information will be available.
Acknowledgements
Some ideas taken from the django-memcache-status and django-memcached2 projects
License
GNU Lesser General Public License, version 3.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django-memcache-admin-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16a312a39c1e990ca084bbc7bd5a5c5442b59cc740ec40041748c2999b15f529 |
|
MD5 | b123db91ba4fcb758a4fa12679f8dbff |
|
BLAKE2b-256 | 52ef1203774bf16817a94510a2a7f50179a162ff5ec195eba95ed4acb2af538e |