blob: 2d576e3e94bd8e0aff27250744fecc53e4ca505f [file] [log] [blame]
Scott Baker34dc67e2018-10-02 15:57:50 -07001option app_label = "core";
2
3message 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
8message Otherstuff {
9 optional string otherstuff_field = 2 [default = "stuff", max_length = 1024];
10}
11
12message Site (XOSBase, Otherstuff) {
13 optional string slice_field = 1 [default = "other stuff", max_length=1024];
14}
15
16message 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}