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

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

src/f/l/flamejam-HEAD/flamejam/models/user.py   flamejam(Download)
# -*- coding: utf-8 -*-
 
from flamejam import app, db, login_manager
from flamejam.utils import hash_password, verify_password, findLocation
from flamejam.models import Participation, Team, Game
    def generateTeam(self, jam):
        t = Team(self, jam)
        db.session.add(t)
        db.session.commit()
 

src/f/l/flamejam-HEAD/flamejam/views/team.py   flamejam(Download)
from flamejam import app, db
from flamejam.models import Jam, Team, Invitation, JamStatusCode, User
from flamejam.forms import TeamSettingsForm, InviteForm, LeaveTeamForm
from flask import render_template, url_for, redirect, flash, request, abort
from flask.ext.login import login_required, current_user

src/f/l/flamejam-HEAD/flamejam/views/misc.py   flamejam(Download)
 
from flamejam import app, db, mail, cache
from flamejam.models import Jam, User, Team, Game, JamStatusCode
from flamejam.utils import get_current_jam
from flask import render_template, request, url_for, redirect, flash, jsonify