@@ -1362,9 +1362,7 @@ class ManyToManyField(RelatedField):
assertnotto._meta.abstract,"%s cannot define a relation with abstract class %s"%(self.__class__.__name__,to._meta.object_name)
exceptAttributeError:# to._meta doesn't exist, so it must be RECURSIVE_RELATIONSHIP_CONSTANT
assertisinstance(to,six.string_types),"%s(%r) is invalid. First parameter to ManyToManyField must be either a model, a model name, or the string %r"%(self.__class__.__name__,to,RECURSIVE_RELATIONSHIP_CONSTANT)
# Python 2.6 and earlier require dictionary keys to be of str type,
# not unicode and class names must be ASCII (in Python 2.x), so we
# forcibly coerce it here (breaks early if there's a problem).
# Class names must be ASCII in Python 2.x, so we forcibly coerce it here to break early if there's a problem.