You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that it would be useful to be able to add configuration items to a blueprint and then have those merged into the app configuration on load. My thinking is simply that there might be configurations specific to your blueprint that should have default values stored as part of the blueprint. I suppose this feature could also lead to use cases where people make blueprint simply to hold different configuration for the application.
The text was updated successfully, but these errors were encountered:
This pattern could also be used to simply hold different configurations for the application, although I the config module has a handful of good helpers for that.
Many Flask extensions add configuration items to an app that can then be overridden by the user. I haven't dug into that part of the code, but I suspect you could simply expand your generic blueprint into a custom flask extension to achieve what you want.
I think that it would be useful to be able to add configuration items to a blueprint and then have those merged into the app configuration on load. My thinking is simply that there might be configurations specific to your blueprint that should have default values stored as part of the blueprint. I suppose this feature could also lead to use cases where people make blueprint simply to hold different configuration for the application.
The text was updated successfully, but these errors were encountered: