(post)
Drops both post specific template fragment caches.
Drops both post specific template fragment caches.
Drops both post specific template fragment caches .
def delete_post_cache(post):
    """
    Drops both post specific template fragment caches.
    """
    delete_fragment_cache("post", True, post.uid)
    delete_fragment_cache("post", False, post.uid)
    if post.root:
        delete_fragment_cache("post", True, post.root.uid)
        delete_fragment_cache("post", False, post.root.uid)
def delete_post_cache ( post ) : delete_fragment_cache ( "post" , True , post . uid ) delete_fragment_cache ( "post" , False , post . uid ) if post . root : delete_fragment_cache ( "post" , True , post . root . uid ) delete_fragment_cache ( "post" , False , post . root . uid )