# Both sides have through models; this is a no-op.
return
elifold_typeisNoneornew_typeisNone:
raiseValueError("Cannot alter field %s into %s - they are not compatible types (probably means only one is an M2M with implicit through model)"%(
raiseValueError("Cannot alter field %s into %s - they are not compatible types (you cannot alter to or from M2M fields, or add or remove through= on M2M fields)"%(
# Both sides have through models; this is a no-op.
return
elifold_typeisNoneornew_typeisNone:
raiseValueError("Cannot alter field %s into %s - they are not compatible types (probably means only one is an M2M with implicit through model)"%(
raiseValueError("Cannot alter field %s into %s - they are not compatible types (you cannot alter to or from M2M fields, or add or remove through= on M2M fields)"%(