Skip to content

Use the flask-native global configuration store instead of rolling our own #2506

@matrss

Description

@matrss

Every Flask app has a .config attribute to store configuration. Additionally, for MSColab we have mscolab_settings. I think this is redundant, we could just use app.config for everything that should be made globally available in the application in a key-value fashion.

This would also become important once there is not just a singular global APP instance, but the possibility to instantiate more then one Flask app, as each app needs its own configuration. This is something that mscolab_settings is not set up for ATM.

This came up in #2499 (comment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions