a, created = AER.objects.get_or_create(...)
    if not created:
        ...