senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Untitled attachment

Download link

Notices where this attachment appears

  1. ( ᐛ) まりなっピ (sasanquaneuf@qiitadon.com)'s status on Wednesday, 15-Aug-2018 13:47:19 JST ( ᐛ) まりなっピ ( ᐛ) まりなっピ

    関数名の羅列...必ずしも関数名ではないけど、⬇︎の11みたいなのかなあ
    https://edgecoders.com/the-mistakes-i-made-as-a-beginner-programmer-ac8b3e54c312

    ほぼ実例だと、

    if not form.validate_on_submit():
    return jsonify(form.errors)
    update_hoge(form)
    return jsonify({'status': ' success'})

    みたいな感じかなあ(若干の脚色あり)
    validateやupdate_hogeの処理は別実装

    In conversation Wednesday, 15-Aug-2018 13:47:19 JST from qiitadon.com permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.