Détermination du bord politique de mots divers http://clivage.foxgl.ovh
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
332 B

  1. from app import db
  2. class Word(db.Model):
  3. id = db.Column(db.Integer, primary_key=True)
  4. text = db.Column(db.String(255), unique=True)
  5. left = db.Column(db.Integer, default=0)
  6. right = db.Column(db.Integer, default=0)
  7. def __repr__(self):
  8. return '<Word {} ({}-{})>'.format(self.text, self.right, self.left)