diff --git a/mongoengine/__init__.py b/mongoengine/__init__.py index 82336da7..06bb6962 100644 --- a/mongoengine/__init__.py +++ b/mongoengine/__init__.py @@ -12,7 +12,7 @@ from signals import * __all__ = (document.__all__ + fields.__all__ + connection.__all__ + queryset.__all__ + signals.__all__) -VERSION = (0, 6, 4) +VERSION = (0, 6, 5) def get_version(): diff --git a/mongoengine/django/auth.py b/mongoengine/django/auth.py index 000e3528..694a4cad 100644 --- a/mongoengine/django/auth.py +++ b/mongoengine/django/auth.py @@ -10,6 +10,7 @@ try: from django.contrib.auth.hashers import check_password, make_password except ImportError: """Handle older versions of Django""" + from django.utils.hashcompat import md5_constructor, sha_constructor def get_hexdigest(algorithm, salt, raw_password): raw_password, salt = smart_str(raw_password), smart_str(salt) diff --git a/python-mongoengine.spec b/python-mongoengine.spec index 1e6fa7fb..fad93c93 100644 --- a/python-mongoengine.spec +++ b/python-mongoengine.spec @@ -5,7 +5,7 @@ %define srcname mongoengine Name: python-%{srcname} -Version: 0.6.4 +Version: 0.6.5 Release: 1%{?dist} Summary: A Python Document-Object Mapper for working with MongoDB