Symbol | in view for Flask tutorial

前端 未结 1 1219
长情又很酷
长情又很酷 2021-01-27 00:08

I\'m doing a tutorial for the Flask framework at http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-iii-web-forms In this very chapter I\'ve found a piece of code

1条回答
  •  走了就别回头了
    2021-01-27 00:27

    This pipe is simply adding the | between providers, as seen in the screenshot. Notice the symbol between "Google" and "Yahoo"

    Pipes

    Pipes are used in filters, but for this specific example, that is not how they are used.

    0 讨论(0)
提交回复
热议问题