django-memcached2 is a lightweight, resuable Django app that displays statistics about your currently running memcached instances.
It is a fork of Eric Florenzano’s django-memcached that works with the CACHES settings introduced in Django 1.3.
Installing django-memcached2
Either download the tarball and run python setup.py install, or simply use easy_install or pip like so easy_install django-memcached2.
Add django_memcached to your INSTALLED_APPS setting:
INSTALLED_APPS = ( # ... 'django_memcached', )Add the urls to your url configuration:
urlpatterns = patterns('', # ... (r'^cache/', include('django_memcached.urls')), )If you want to restrict these urls to only staff members, just add this setting to your settings file:
DJANGO_MEMCACHED_REQUIRE_STAFF = True
That’s it. Hopefully this app gives you a little insight into how your memcached servers are being utilized.
Metadata
Release files for django-memcached2 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-memcached2-0.2.tar.gz | 5.2 kB | Details |
Release files / django-memcached2-0.2.tar.gz
| Download URL | django-memcached2-0.2.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76d736d66b212bb7ff4263d45421a65607234c3ffb487a7dabedfd260cd702ee
|
|
BLAKE2b-256 checksum How to use checksums |
e8d4dcb7eed073946878ca63cdc824e0f248bf05127ca764c4920a6c514b6c08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |