Exemple #1
0
def get_shop_promotion_activities():
    shop_promot_activities = cache.get("banner_activities")
    if not shop_promot_activities:
        shop_promot_activities = Activity.get_shop_promot_acitivity()
        # cache.set("pop_articles", articles)

    return shop_promot_activities