mongodb-labs / django-mongodb

MongoDB Backend for Django
Apache License 2.0
16 stars 7 forks source link

fix username/password authentication #158

Closed SavingFrame closed 1 month ago

SavingFrame commented 1 month ago

This PR updates the MongoDB connection logic in the Django MongoDB integration to be compatible with PyMongo 4.x. The old method of authenticating db via self.database.authenticate(user, password) has been removed, since it was deprecated and fully removed in PyMongo 4.x.

Changes Made: