Skip to content

Commit b2be223

Browse files
committed
Restore get_database_version functionality
1 parent db32487 commit b2be223

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

django_mongodb_backend/base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,4 @@ def validate_no_broken_transaction(self):
286286

287287
def get_database_version(self):
288288
"""Return a tuple of the database's version."""
289-
return (8, 1, 1)
290-
# TODO: provide an unencrypted connection for this method.
291-
# return tuple(self.connection.server_info()["versionArray"])
289+
return tuple(self.connection.server_info()["versionArray"])

0 commit comments

Comments
 (0)