Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/f/l/flamejam-HEAD/flamejam/views/game.py   flamejam(Download)
    game = Game.query.filter_by(is_deleted = False, id = game_id).filter_by(jam = jam).first_or_404()
 
    if current_user.is_authenticated() and comment_form.validate_on_submit():
        comment = Comment(comment_form.text.data, game, current_user)
        db.session.add(comment)