def clr(): """clear favsite collection """ models.clear()
def clr(): """clear blog collection """ models.clear() # remove all posts models.blog.cache.remove() # remove all cached posts, too