flask_moment.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:webapp 作者: superchilli 项目源码 文件源码
def include_jquery(version = '1.10.1'):
        if request.is_secure:
            protocol = 'https'
        else:
            protocol = 'http'
        return Markup('<script src="%s://code.jquery.com/jquery-%s.min.js"></script>' % (protocol, version))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号