django1/django/db/models/fields
Malcolm Tredinnick 587fbff3dd Make ManyToManyField model references more robust.
In r16679 a test was added to verify something had been fixed when a
unicode string type was passed in as a model name. The name has to be
ASCII convertible, but in Python 2.6 and earlier, it must also have str
type.

This commit fixes the problem for earlier Python versions and is almost
identical to a patch from b.leskes in #6045.

Fixes #16689. Refs #6045.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16682 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-25 06:07:28 +00:00
..
__init__.py Improved error message display during validation errors. 2011-08-22 00:48:53 +00:00
files.py Fix initialisation of ImageField super classes. 2011-08-23 04:05:47 +00:00
proxy.py Fixed #13328 -- Ensured that querysets on models with callable defaults can be pickled. No, really this time. Thanks to Alex for his help brainstorming the solution. 2010-04-21 16:34:33 +00:00
related.py Make ManyToManyField model references more robust. 2011-08-25 06:07:28 +00:00
subclassing.py Removed deprecated legacy connection handling for `Field.get_db_*`. 2011-03-30 17:48:42 +00:00