Giter VIP home page Giter VIP logo

the-flask-mega-tutorial's People

Contributors

pengyao avatar sixu05202004 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

the-flask-mega-tutorial's Issues

关于用户登录(User Login)一章中User类的is_anonymous方法的说明

首先感谢作者的翻译。我今天在看到用户登录(User Login)这一章时,见下面对User类的is_anonymous方法的说明是“is_anonymous 方法应该返回 True,除非是伪造的用户不允许登录系统。”,然而代码中返回的是False,感觉有些疑惑,因此找了原文看了下,原文是这么说的:“The is_anonymous property should return True only for fake users that are not supposed to log in to the system.”,因此中文这个地方的翻译可能是弄反了,应该是只对不希望其登录系统的伪造用户返回True。

另外说下之前章节里面的代码对python3兼容的问题,print由命令改为函数因此要加括号就不用我多说了,主要是之前看到数据库迁移代码里面用到了exec xxx in yyy这样的语句,自己试着加括号怎么也弄不对,后来去网上搜了下才发现要改成exec(xxx,yyy)的形式才对,希望作者可以在这里稍微加两句说明一下python3里面的写法,方便其他读者。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.