Пример #1
0
def load_values_for_side():
    g.recent_entries = Entry.fetch_recent_entries(
        max(g.items_for_side, g.entries_per_page))
    g.recent_comments = Comment.fetch_recent_comments(
        max(g.items_for_side, g.entries_per_page))
    g.tag_counts = Tag.fetch_tag_counts()
    g.archives = Entry.fetch_archives()