def get_all_video_categories():
    video_categories = get_all(VideoCategory)
    return format_json(video_categories)
def get_all_authors():
    authors = get_all(Author)
    return format_json(authors)
def get_all_ads():
    ads = get_all(Ad)
    return format_json(ads)
def get_all_users():
    users = get_all(User)
    return format_json(users)
예제 #5
0
def get_all_video_views():
    symbol_views = get_all(VideoView)
    return format_json(symbol_views)
예제 #6
0
def get_all_symbol_subcategories():
    symbol_subcategories = get_all(SymbolSubcategory)
    return format_json(symbol_subcategories)
def get_all_videos_without_ads():
    videos = get_all(Video)
    return format_json(videos, False)
def get_all_post_views():
    post_views = get_all(PostView)
    return format_json(post_views)
예제 #9
0
def get_all_symbols():
    symbols = get_all(Symbol)
    return format_json(symbols)
def get_all_videos():
    videos = get_all(Video)
    return format_json(videos, True)
def get_all_posts_without_ads():
    posts = get_all(Post)
    return format_json(posts, False)
def get_all_posts():
    posts = get_all(Post)
    return format_json(posts, True)
def get_all_forum_views():
    forum_views = get_all(ForumView)
    return format_json(forum_views)
def get_all_forums():
    forums = get_all(Forum)
    return format_json(forums)
def get_all_symbol_views():
    symbol_views = get_all(SymbolView)
    return format_json(symbol_views)