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

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

src/f/l/Flask-User-HEAD/example_apps/roles_required_app.py   Flask-User(Download)
        username = db.Column(db.String(50), nullable=False, unique=True)
        email = db.Column(db.String(255), nullable=False, unique=True)
        confirmed_at = db.Column(db.DateTime())
        password = db.Column(db.String(255), nullable=False, default='')
        reset_password_token = db.Column(db.String(100), nullable=False, default='')

src/f/l/flask-security-example-HEAD/app.py   flask-security-example(Download)
    password = db.Column(db.String(255))
    active = db.Column(db.Boolean())
    confirmed_at = db.Column(db.DateTime())
    roles = db.relationship('Role', secondary=roles_users,
                            backref=db.backref('users', lazy='dynamic'))

src/f/l/Flask-User-HEAD/example_apps/basic_app.py   Flask-User(Download)
        password = db.Column(db.String(255), nullable=False, default='')
        username = db.Column(db.String(50), nullable=False, unique=True)
        confirmed_at = db.Column(db.DateTime())
        reset_password_token = db.Column(db.String(100), nullable=False, default='')
 

src/b/i/bizfriendly-api-HEAD/bizfriendly/models.py   bizfriendly-api(Download)
    description = db.Column(db.Unicode)
    state = db.Column(db.Unicode)
    created_dt = db.Column(db.DateTime(), default=db.func.now())
    # Realtionships
    creator_id = db.Column(db.Integer, db.ForeignKey('bf_user.id'))
    media = db.Column(db.Unicode)
    state = db.Column(db.Unicode)
    created_dt = db.Column(db.DateTime(), default=db.func.now())
    # Relationships
    category_id = db.Column(db.Integer, db.ForeignKey('category.id'))
    ease = db.Column(db.Unicode)
    state = db.Column(db.Unicode)
    created_dt = db.Column(db.DateTime(), default=db.func.now())
    # Relationships
    service_id = db.Column(db.Integer, db.ForeignKey('service.id'), nullable=False)
    feedback = db.Column(db.Unicode)
    next_step_number = db.Column(db.Integer)
    created_dt = db.Column(db.DateTime(), default=db.func.now())
    # Relationships
    lesson_id = db.Column(db.Integer, db.ForeignKey('lesson.id'), nullable=False)
    reset_token = db.Column(db.BigInteger, nullable=True)
    role = db.Column(db.Unicode, nullable=True)
    created_dt = db.Column(db.DateTime(), default=db.func.now())
    # Relations
    lessons_completed = db.relationship("UserLesson")

src/f/l/Flask-Fragment-HEAD/demo/models.py   Flask-Fragment(Download)
class Comment(DB.Model):
    id = DB.Column(DB.Integer(), primary_key=True, autoincrement=True)
    author_id = DB.Column(DB.Integer, DB.ForeignKey('user.id'))
    post_id = DB.Column(DB.Integer, DB.ForeignKey('post.id'))
    created_at = DB.Column(DB.DateTime(), default=DB.func.now())
class Post(DB.Model):
    id = DB.Column(DB.Integer(), primary_key=True, autoincrement=True)
    author_id = DB.Column(DB.Integer, DB.ForeignKey('user.id'))
    created_at = DB.Column(DB.DateTime(), default=DB.func.now())
    title = DB.Column(DB.String(128))

src/w/h/wharf-HEAD/wharf/__init__.py   wharf(Download)
    password = db.Column(db.String(255))
    active = db.Column(db.Boolean())
    confirmed_at = db.Column(db.DateTime())
    roles = db.relationship('Role', secondary=roles_users,
                            backref=db.backref('users', lazy='dynamic'))

src/f/l/Flask-Security-1.7.1/tests/test_app/sqlalchemy.py   Flask-Security(Download)
        username = db.Column(db.String(255))
        password = db.Column(db.String(255))
        last_login_at = db.Column(db.DateTime())
        current_login_at = db.Column(db.DateTime())
        last_login_ip = db.Column(db.String(100))
        current_login_ip = db.Column(db.String(100))
        login_count = db.Column(db.Integer)
        active = db.Column(db.Boolean())
        confirmed_at = db.Column(db.DateTime())

src/f/l/Flask-User-HEAD/flask_user/tests/tst_app.py   Flask-User(Download)
        username = db.Column(db.String(50), nullable=True, unique=True)
        email = db.Column(db.String(255), nullable=True, unique=True)
        confirmed_at = db.Column(db.DateTime())
        password = db.Column(db.String(255), nullable=False, default='')
        reset_password_token = db.Column(db.String(100), nullable=False, default='')

src/f/l/Flask-User-0.4.9/flask_user/tests/tst_app.py   Flask-User(Download)
        username = db.Column(db.String(50), nullable=True, unique=True)
        email = db.Column(db.String(255), nullable=True, unique=True)
        confirmed_at = db.Column(db.DateTime())
        password = db.Column(db.String(255), nullable=False, default='')
        reset_password_token = db.Column(db.String(100), nullable=False, default='')

src/f/l/Flask-WhooshAlchemy-HEAD/test/test_all.py   Flask-WhooshAlchemy(Download)
    blurb = db.Column(db.Unicode)
    ignored = db.Column(db.Unicode)
    created = db.Column(db.DateTime(), default=datetime.datetime.utcnow())
 
    def __repr__(self):

  1 | 2  Next