def update_email_marketing_config(enabled=True, key='badkey', secret='badsecret', new_user_list='new list', template='Activation', enroll_cost=100, lms_url_override='http://testserver'):
 return EmailMarketingConfiguration.objects.create(enabled=enabled, sailthru_key=key, sailthru_secret=secret, sailthru_new_user_list=new_user_list, sailthru_activation_template=template, sailthru_enroll_template='enroll_template', sailthru_lms_url_override=lms_url_override, sailthru_get_tags_from_sailthru=False, sailthru_enroll_cost=enroll_cost, sailthru_max_retries=0, welcome_email_send_delay=600)

def update_email_marketing_config ( enabled = True , key = 'badkey' , secret = 'badsecret' , new_user_list = 'new list' , template = 'Activation' , enroll_cost = 100 , lms_url_override = 'http://testserver' ) : return EmailMarketingConfiguration . objects . create ( enabled = enabled , sailthru_key = key , sailthru_secret = secret , sailthru_new_user_list = new_user_list , sailthru_activation_template = template , sailthru_enroll_template = 'enroll_template' , sailthru_lms_url_override = lms_url_override , sailthru_get_tags_from_sailthru = False , sailthru_enroll_cost = enroll_cost , sailthru_max_retries = 0 , welcome_email_send_delay = 600 )
enable / disable sailthru integration .