def clear_override_for_ccx(ccx, block, name):
 try:
  CcxFieldOverride.objects.get(ccx=ccx, location=block.location, field=name).delete()
  clear_ccx_field_info_from_ccx_map(ccx, block, name)
 except CcxFieldOverride.DoesNotExist:
  pass

def clear_override_for_ccx ( ccx , block , name ) : try : CcxFieldOverride . objects . get ( ccx = ccx , location = block . location , field = name ) . delete ( ) clear_ccx_field_info_from_ccx_map ( ccx , block , name ) except CcxFieldOverride . DoesNotExist : pass
clears a previously set field override for the ccx .