Example #1
0
        class SchemaExample(schemas.Model):

            area_list = schemas.StringListType(schemas.StringModelType(
                schemas.Area),
                                               separator="+")
            string_list = schemas.StringListType(schemas.StringType,
                                                 separator="+")
Example #2
0
        class SchemaExample(schemas.Model):

            location = schemas.StringModelType(schemas.Location)
Example #3
0
        class SchemaExample(schemas.Model):

            my_model = schemas.StringModelType(MyModel)
Example #4
0
        class SchemaExample(schemas.Model):

            area = schemas.StringModelType(schemas.Area)