Exemple #1
0
def get_campaign_form_name(campaign_name):
    if campaign_name:
        return Campaign.query(Campaign.name == campaign_name).get()
    else:
        return None
Exemple #2
0
def fetch_campaigns():
    return Campaign.query().order(-Campaign.created_on)
Exemple #3
0
def fetch_campaigns():
    return Campaign.query().order(-Campaign.created_on)
Exemple #4
0
def get_campaign_form_name(campaign_name):
    if campaign_name:
        return Campaign.query(Campaign.name == campaign_name).get()
    else:
        return None