Fix Django 1.3 auth

This commit is contained in:
Ross Lawley 2012-04-18 16:41:09 +01:00
parent 5f4b70f3a9
commit 88dc64653e
3 changed files with 3 additions and 2 deletions

View File

@ -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():

View File

@ -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)

View File

@ -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