Skip to content
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

kwargs for username and password are being forgotten in mongoengine.connect #597

Open
edman opened this issue Feb 8, 2015 · 0 comments
Open

Comments

@edman
Copy link

edman commented Feb 8, 2015

Database connection without the "mongodb://" URI is not working for me. Username and password (among others) keyword arguments passed to mongoengine.connect are being popped from the conn_settings dictionary by the conditional statement at https://github.com/hmarr/mongoengine/blob/master/mongoengine/connection.py#L98.

The call mongoengine.connect('dbname', username='user', password='passwd', host='localhost', port=27017) reproduces the aforementioned behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant