Beispiel #1
0
 class Book(Model):
     db_engine = self.engine
     title = StringField()
     rank = IntegerField()
Beispiel #2
0
 class Book(Model):
     title = StringField()
     rank = IntegerField()
Beispiel #3
0
 class Book(Model):
     title = StringField(default='Untitled Book')
Beispiel #4
0
 def setUp(self):
     self.maxDiff = None
     self.title_field = StringField()
     self.rank_field = IntegerField()