app.py 文件源码

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

项目:flask-alcohol 作者: natfoster82 项目源码 文件源码
def authorize_changes(resource):
        return current_user.is_admin()

    # using SQLAlchemy's hybrid_property to provide a setter and validation step,
    # below I use Flask-Alcohol's setter decorator to do the same thing
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号