def get_group_required(self):
this_object = self.model_object<EOL>if hasattr(this_object,self.group_required_field):<EOL><INDENT>if hasattr(getattr(this_object,self.group_required_field),'<STR_LIT:name>'):<EOL><INDENT>return [getattr(this_object,self.group_required_field).name]<EOL><DEDENT><DEDENT>return ['<STR_LIT>']<EOL>
Get the group_required value from the object