Merge pull request #3 from evildmp/issue_2_version_checking

fixed #2 Python 2.6, sys.version.major test fails (not a tuple)
This commit is contained in:
Pablo Martín 2013-11-13 10:55:39 -08:00
commit f7886aae0c

View file

@ -23,7 +23,7 @@ from django.core import exceptions
from ..forms.fields import MultiSelectFormField
if sys.version_info.major == 2:
if sys.version_info[0] == 2:
string = basestring
string_type = unicode
else: