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.
Compatible with default admin and Bootstrap.
…more to come!
This module is still in beta status: more testing is needed.
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).
- CACHE — string
The cache definition to use. Default is “default”.
Compatibility
Django 1.6 and 1.7
For best results, python-memcached should be used.
pylibmc can be used, but not all information will be available.
This library is compatible with python 2 and 3, however the memcache packages above are only python2 compatible.
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
Built Distribution
Hashes for django-memcache-admin-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42df1adaf577abfc36456ef0bd8b3f3580e051b9a51ce4734d0f15e267541f5a |
|
MD5 | cbebd657700f542899f51f130fa7938f |
|
BLAKE2b-256 | 7cc2713e80895be8ef7cbafd045b607534b77dda92166d639567f59427727c16 |
Hashes for django_memcache_admin-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 790a33e1f1a8b08fa53726dece393214b5a503499615543c70107edb14d26c14 |
|
MD5 | 1f0cff1c6de7bfd1788ee99b8894d05d |
|
BLAKE2b-256 | f6b36645ad3f2eb47d3e428529ae1b3e614278048789d5040a1a79d9189b8214 |