fix "NameError"

fix "NameError: name 'CompatRelatedField' is not defined