Exemple #1
0
 def save(self):
     session = TorneiraSession()
     if not self.id:
         session.add(self)
     session.flush()
Exemple #2
0
 def save(self):
     session = TorneiraSession()
     if not self.id: 
         session.add(self)
     session.flush()
Exemple #3
0
 def delete(self):
     session = TorneiraSession()
     session.delete(self)
     session.flush()
Exemple #4
0
 def delete(self):
     session = TorneiraSession()
     session.delete(self)
     session.flush()