current_app application context in flask. Get working instance of flask

前端 未结 0 1225
太阳男子
太阳男子 2021-02-14 07:48

I am trying to setup simple flask application to perceive app_context() feature.

This is my code:

# config.py
UPDATE_PERIOD = 100.0

相关标签:
回答
  • 消灭零回复
提交回复
热议问题