blob: 753500fbaf09c6e38af10d55b9c7673ea6cb35ab [file] [log] [blame]
// custom_python at the root level should override both models
option custom_python = True;
message XOSModel (XOSBase) {
required string name = 1 [max_length = 200, content_type = "stripped", blank = False, help_text = "Help Name", null = False, db_index = False];
required string files = 2 [max_length = 1024, content_type = "stripped", blank = False, help_text = "Help Files", null = False, db_index = False];
}
message XOSModel2 (XOSBase) {
required string name = 1 [max_length = 200, content_type = "stripped", blank = False, help_text = "Help Name", null = False, db_index = False];
required string files = 2 [max_length = 1024, content_type = "stripped", blank = False, help_text = "Help Files", null = False, db_index = False];
}