'After cleaned, return a list of ints for the constants.'

def clean_app_type(self):

    at_ids = []
    for at in self.cleaned_data.get('app_type'):
        at_id = mkt.ADDON_WEBAPP_TYPES_LOOKUP.get(at)
        if (at_id is not None):
            at_ids.append(at_id)
    if ((mkt.ADDON_WEBAPP_PACKAGED in at_ids) and (mkt.ADDON_WEBAPP_PRIVILEGED not in at_ids)):
        at_ids.append(mkt.ADDON_WEBAPP_PRIVILEGED)
    if at_ids:
        return at_ids
