(doc_id)
helper cache retrieval method for open_doc - for use by views in retrieving their docs.
helper cache retrieval method for open_doc - for use by views in retrieving their docs.
helper cache retrieval method for open_doc - for use by views in retrieving their docs .
def _get_cached_doc_only(doc_id):
    """
    helper cache retrieval method for open_doc - for use by views in retrieving their docs.
    """
    doc = rcache().get(key_doc_id(doc_id), None)
    if doc and CACHE_DOCS:
        return simplejson.loads(doc)
    else:
        return None
def _get_cached_doc_only ( doc_id ) : doc = rcache ( ) . get ( key_doc_id ( doc_id ) , None ) if doc and CACHE_DOCS : return simplejson . loads ( doc ) else : return None