- I have "app = create_app(TestConfig)" and "token_app = create_app(TokenTestConfig)" in 1 file. In "TestConfig" "WTF_CSRF_ENABLED = False" and in "TokenTestConifg" = "WTF_CSRF_ENABLED = True".This is causing a problem because "WTF_CSRF_ENABLED = True" even if I put code in between both configs. https://flask.palletsprojects.com/en/2.2.x/config/ 7 comments flask
Linking pages
Related searches:
Search whole site: site:flask.palletsprojects.com
Search title: Configuration Handling — Flask Documentation (2.2.x)
See how to search.