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

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

src/f/l/flamejam-HEAD/flamejam/models/team.py   flamejam(Download)
# -*- coding: utf-8 -*-
 
from flamejam import app, db, mail
from flamejam.models import Invitation, Game
from flask import url_for, render_template
            i = self.getInvitation(user) # already invited
        else:
            i = Invitation(self, user)
            db.session.add(i)
            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