django-memcached
django-memcached copied to clipboard
This is a very simple reusable app which does one thing: shows you statistics about your currently running memcached instances.
django-memcached
This is a very simple reusable app which does one thing: shows you statistics about your currently running memcached instances. There are no database models and not much configuration.
Installing django-memcached
-
Either download the tarball and run
python setup.py install
, or simply use easy install or pip like soeasy_install django-memcached
. -
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.