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