예제 #1
0
        class SchemaExample(schemas.Model):

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

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

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

            area = schemas.StringModelType(schemas.Area)