[Flask] Question of outsourcing flask app
Hippo
badrihippo at gmail.com
Tue Jun 4 09:11:16 EDT 2019
Why do you want to externalise the configuration? In other words, what are
the settings that you plan to modify in the external file?
Depending on what it is, you could code your application to automatically
load the settings whenever it needs to, during runtime, instead of having
to get it from the config file. (Of course, if it's something major then
Carlos' suggestion of having a separate launch script would work better.
Depends on what you're trying to do).
—Badri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20190604/3d842a50/attachment.html>
More information about the Flask
mailing list