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

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

src/f/l/flask-skeleton-HEAD/skeleton/modules/aaa/models/user.py   flask-skeleton(Download)
    max_concurrent_sessions = db.Column(db.Integer)
    registration_utc = db.Column(db.DateTime(timezone=True))
    timezone_id = db.Column(db.Integer, db.ForeignKey('public.timezone.id'))
    timezone = db.relationship('Timezone', primaryjoin='Timezone.id==User.timezone_id')
    user_id = db.Column(db.Integer, primary_key=True)

src/f/l/flask-skeleton-HEAD/skeleton/modules/aaa/models/user_info.py   flask-skeleton(Download)
class UserInfo(db.Model):
    timezone_id = db.Column(db.Integer, db.ForeignKey('public.timezone.id'))
    timezone = db.relationship('Timezone', primaryjoin='Timezone.id==UserInfo.timezone_id')
 
    user_id = db.Column(db.Integer, primary_key=True)

src/f/l/flask-skeleton-HEAD/skeleton/modules/mod3/models/page_tags.py   flask-skeleton(Download)
from skeleton import db
 
PageTags = db.Table('page_tags', db.metadata,
    db.Column('page_id', db.Integer, db.ForeignKey('public.page.id')),
    db.Column('tag_id', db.Integer, db.ForeignKey('public.tag.id')),