I don't want to restart the memcached server!
+3
A:
cache._cache.flush_all()
Also see this ticket, it has a patch (that I haven't tested) to flush any type of cache backend: http://code.djangoproject.com/ticket/11503
shanyu
2009-10-25 05:31:07