Did I find the right examples for you? yes no

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

src/l/u/LuoYunCloud-HEAD/lyweb/app/system/utils.py   LuoYunCloud(Download)
from app.site.models import SiteConfig
from .models import LyTrace
from settings import LY_TARGET, runtime_data
from yweb.orm import global_dbsession
 
    visit = hdr.request.uri
 
    T = LyTrace(hdr.current_user, ip, agent, visit)
 
    T.target_type = ttype,
    T.target_id = tid,
    T.do = do