class CityEmptyField(Model): text = TextField() number = NumberField() date = DateTime() bool = BooleanField() geo_point = GeoPoint() list = ListField() map = MapField() nested = NestedModel(NModel) ref = ReferenceField(RModel)
class DeepNestedUni3(Model): dept = TextField() student = NestedModel(DeepNestedStudent3, required=True)
class DeepNestedStudent3(Model): uni = TextField(required=True) user = NestedModel(DeepNestedUser3)
class DeepNestedUni2(Model): dept = TextField() student = NestedModel(DeepNestedStudent2)
class DirectNestedModel(Model): age = NumberField() user = NestedModel(DeepDirectNestedModel)
class CreateModelFromDict2(Model): name = TextField() nested_parent = NestedModel(DictParent)
class ConvertModelIntoDict(Model): name = TextField() nested_parent = NestedModel(NestedParent)
class NFLevel6(Model): dept = TextField() lev5 = NestedModel(NFLevel5, column_name='lev5')
class NFLevel5(Model): age = NumberField() lev4 = NestedModel(NFLevel4, column_name='lev4')
class NestedModelMain(Model): age = NumberField() user = NestedModel(NestedModelFilter)
class NFLevel3(Model): dept = TextField() lev2 = NestedModel(NFLevel2)
class NFLevel2(Model): age = NumberField() lev1 = NestedModel(NFLevel1)
class NestedModelMain2(Model): age = NumberField() user = NestedModel(NestedModelFilter2, column_name='something')
class Student(Model): address = TextField() user = NestedModel(User)