def get_content(): return {"Post Item":PostItem.all(), "Post Category":PostCategory.all()}
def render(cls, context, * args, ** kwargs): categories_list = PostCategory.all() return cls.render_block(template_name='block_blogcategories.html', block_title=_('Categories'), context={'categories_list': categories_list})