def registration_list_status_filter_sql():
    'SQL to filter for whitelisted or null registration_list statuses.'
    return sql.SQL("(status IS NULL OR status = 'whitelist')")
SQL to filter for whitelisted or null registration_list statuses.
def registration_list_status_filter_sql():
    
    return sql.SQL("(status IS NULL OR status = 'whitelist')")