def hacky_m2one_name(field):
return str(field.related_model).split("<STR_LIT:.>")[-<NUM_LIT:1>].split("<STR_LIT:'>")[<NUM_LIT:0>]<EOL>
This is a Hacky, Hacky method to get name.
field.related_model.__class__.__name__ somehow returns `BaseModel`
which is not somethig we want