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

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

src/f/l/flamejam-HEAD/flamejam/views/misc.py   flamejam(Download)
    biggest_team_game = None
 
    for jam in Jam.query.all():
        users = 0
        for game in jam.games:
 
    # Send Notifications
    for jam in Jam.query.all():
        n = jam.sendAllNotifications()
        if n >= 0:
 
    # Remove invitations after game rating has started
    for jam in Jam.query.all():
        if jam.getStatus().code >= JamStatusCode.RATING:
            for team in jam.teams:

src/f/l/flamejam-HEAD/flamejam/views/admin.py   flamejam(Download)
def admin_jams():
    return render_template("admin/jams.html", jams = Jam.query.all())
 
@app.route("/admin/jams/<int:id>/send/<int:n>", methods = ["POST", "GET"])
@admin_permission.require()
def admin_games():
    return render_template("admin/games.html", jams = Jam.query.all())
 
@app.route("/admin/games/<int:id>/<flag>")
@admin_permission.require()

src/f/l/flamejam-HEAD/flamejam/views/jams.py   flamejam(Download)
def jams():
    return render_template("misc/search.html", jams = Jam.query.all())
 
@app.route('/jams/<jam_slug>/', methods=("GET", "POST"))
def jam_info(jam_slug):

src/f/l/flamejam-HEAD/flamejam/views/index.py   flamejam(Download)
def home():
    return render_template("index.html", all_jams = Jam.query.all())
 

src/f/l/flamejam-HEAD/flamejam/utils.py   flamejam(Download)
def get_current_jam():
    from flamejam.models import Jam, JamStatusCode
    next = None
    previous = None
    for jam in Jam.query.all():