Scott Baker | 34dc67e | 2018-10-02 15:57:50 -0700 | [diff] [blame] | 1 | option app_label = "core"; |
| 2 | |
| 3 | message XOSBase { |
| 4 | optional string base_field = 2 [default = "stuff", max_length = 1024]; |
| 5 | optional string base_field2 = 3 [default = "stuff", max_length = 1024]; |
| 6 | } |
| 7 | |
| 8 | message Otherstuff { |
| 9 | optional string otherstuff_field = 2 [default = "stuff", max_length = 1024]; |
| 10 | } |
| 11 | |
| 12 | message Site (XOSBase, Otherstuff) { |
| 13 | optional string slice_field = 1 [default = "other stuff", max_length=1024]; |
| 14 | } |
| 15 | |
| 16 | message Slice (XOSBase) { |
| 17 | optional string slice_field = 1 [default = "other stuff", max_length=1024]; |
| 18 | required manytoone site->Site:slices = 2:1002 [help_text = "The Site this Slice belongs to", null = False, db_index = True, blank = False]; |
| 19 | } |