def index(): from handlers.home import Home home = Home(['featured', 'ads']) home.context.left_sidebar_enabled = True home.context.right_sidebar_enabled = True home.context.header_enabled = True return home.render("app/home")
def index(): from handlers.home import Home home = Home(['featured', 'featured_members', 'ads', 'homeblocks']) home.context.left_sidebar_enabled = True home.context.right_sidebar_enabled = True home.context.header_enabled = not request.user_agent().is_mobile return home.render("app/home")
def index(): from handlers.home import Home home = Home(['featured', 'featured_members', 'homeblocks', 'articles']) home.context.left_sidebar_enabled = True home.context.right_sidebar_enabled = True home.context.header_enabled = True home.context.toparea_enabled = True return home.render("app/home")
def index(): #redirect(URL('home', 'index')) from handlers.home import Home home = Home(['featured', 'featured_members', 'ads', 'homeblocks', 'articles']) home.context.left_sidebar_enabled = True home.context.right_sidebar_enabled = True home.context.header_enabled = True home.context.toparea_enabled = True theme_name = home.context.theme_name return home.render("app/home")
def index(): #redirect(URL('home', 'index')) from handlers.home import Home home = Home( ['featured', 'featured_members', 'ads', 'homeblocks', 'articles']) home.context.left_sidebar_enabled = True home.context.right_sidebar_enabled = True home.context.header_enabled = True home.context.toparea_enabled = True theme_name = home.context.theme_name return home.render("app/home")
def index(): from handlers.home import Home home = Home() home.context.left_sidebar_enabled = True home.context.right_sidebar_enabled = True return home.render("app/home")