【问题标题】:Check the version of wtforms used in flask - wtforms检查烧瓶中使用的 wtforms 的版本 - wtforms
【发布时间】:2014-10-22 11:37:45
【问题描述】:

flask中使用的wtforms是什么版本-wtforms?

WTForms 2 是新版本,但如果flask - wtforms 使用此版本或旧版本,我在任何地方都找不到。

如何找到正在使用的版本?

这里是code of the extension

【问题讨论】:

    标签: python flask wtforms flask-wtforms


    【解决方案1】:

    查看项目源中的需求文件:

    https://github.com/lepture/flask-wtf/blob/master/requirements.txt

    WTFroms 必须比 1.0.4 大,因此您可以安装任何您喜欢的 1.1、2 等...以前。

    WTForms>=1.0.4

    因此,WTforms 是一项要求,当您安装 flask-wtf 时,将根据您拥有的 python 包检查要求文件。

    检查您使用的版本:

    pip freeze | grep WTForms
    

    【讨论】:

      猜你喜欢
      • 2013-03-16
      • 1970-01-01
      • 2016-05-03
      • 1970-01-01
      • 2020-07-24
      • 2016-01-23
      • 1970-01-01
      • 2019-01-01
      • 1970-01-01
      相关资源
      最近更新 更多