Skip to content

Allow keep config in MongoEngine object until init_app #401

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 8, 2020

Conversation

insspb
Copy link
Collaborator

@insspb insspb commented Jun 8, 2020

It is possible to hold configuration in MongoEngine item, without app initialization.
If config will be provided with init_app(config=config) it will overwrite MongoEngine item config.

Fix #338

@insspb insspb added type: enhancement Enhancement update for old feature log:changed Changelog mark label. Marks old, but changed features. labels Jun 8, 2020
@insspb insspb self-assigned this Jun 8, 2020
@insspb insspb merged commit 93bd9b9 into master Jun 8, 2020
@insspb insspb deleted the init_app_config branch November 20, 2020 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
log:changed Changelog mark label. Marks old, but changed features. type: enhancement Enhancement update for old feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

method init_app of MongoEngine can't use config from __init__
1 participant