blob: 753500fbaf09c6e38af10d55b9c7673ea6cb35ab [file] [log] [blame]
Scott Bakerbe2a5172019-04-10 18:02:50 -07001// custom_python at the root level should override both models
2
3option custom_python = True;
4
5message XOSModel (XOSBase) {
6 required string name = 1 [max_length = 200, content_type = "stripped", blank = False, help_text = "Help Name", null = False, db_index = False];
7 required string files = 2 [max_length = 1024, content_type = "stripped", blank = False, help_text = "Help Files", null = False, db_index = False];
8}
9
10message XOSModel2 (XOSBase) {
11 required string name = 1 [max_length = 200, content_type = "stripped", blank = False, help_text = "Help Name", null = False, db_index = False];
12 required string files = 2 [max_length = 1024, content_type = "stripped", blank = False, help_text = "Help Files", null = False, db_index = False];
13}