Split Python Flask app into multiple files

后端 未结 4 1277
执念已碎
执念已碎 2020-11-27 10:28

I\'m having trouble understanding how to split a flask app into multiple files.

I\'m creating a web service and I want to split the api\'s into different files (Acco

4条回答
  •  忘掉有多难
    2020-11-27 11:01

    One another way to do this can be with lazy loading, where you would explicitly attach view functions on need basis.

提交回复
热议问题