def comments_made(self):
     return FlightComment.query().filter_by(user=self.user).count()
Example #2
0
 def comments_made(self):
     return FlightComment.query().filter_by(user=self.user).count()