Scott Baker | be2a517 | 2019-04-10 18:02:50 -0700 | [diff] [blame] | 1 | // custom_python at the model level should override only one model |
| 2 | |
| 3 | message XOSModel (XOSBase) { |
| 4 | option custom_python = True; |
| 5 | required string name = 1 [max_length = 200, content_type = "stripped", blank = False, help_text = "Help Name", null = False, db_index = False]; |
| 6 | required string files = 2 [max_length = 1024, content_type = "stripped", blank = False, help_text = "Help Files", null = False, db_index = False]; |
| 7 | } |
| 8 | |
| 9 | message XOSModel2 (XOSBase) { |
| 10 | required string name = 1 [max_length = 200, content_type = "stripped", blank = False, help_text = "Help Name", null = False, db_index = False]; |
| 11 | required string files = 2 [max_length = 1024, content_type = "stripped", blank = False, help_text = "Help Files", null = False, db_index = False]; |
| 12 | } |