memcache_admin/views.py
def stats(request, server_name):
    """
    Show server statistics.
    """
    server_name = server_name.strip('/')
    data = _context_data({
        'title': _('Memcache Statistics for %s') % server_name,
        'cache_stats': _get_cache_stats(server_name),
    },
        request)
    return render_to_response('memcache_admin/stats.html', data, RequestContext(request))
def stats(request, server_name):
    """
    Show server statistics.
    """
    server_name = server_name.strip('/')
    data = _context_data({
        'title': _('Memcache Statistics for %s') % server_name,
        'cache_stats': _get_cache_stats(server_name),
    },
        request)
    return render_to_response('memcache_admin/stats.html', data, RequestContext(request))
def stats ( request , server_name ) : server_name = server_name . strip ( '/' ) data = _context_data ( { 'title' : _ ( 'Memcache Statistics for %s' ) % server_name , 'cache_stats' : _get_cache_stats ( server_name ) , } , request ) return render_to_response ( 'memcache_admin/stats.html' , data , RequestContext ( request ) )
Show server statistics.
Show server statistics .