﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27901	Problem with Django & MySQL & model fields returning custom unicode classes	Dominique Barton	nobody	"Hi there

I use a custom model field (inherited from `TextField`) which simply returns its value as an ""enhanced"" `unicode` object.
Unfortunately, this will raise UnicodeErrors as MySQLdb apparently fails recognizing those values as `unicode`. The comparision isn't very clever there ;)

MySQLdb has a `use_unicode` flag, but I don't know how to implement it in Django and I think this is a serious bug.

I've prepared a whole test case right here: https://github.com/domibarton/django-mysql-unicode-error

I hope this is enough for a ""proper"" bug description.

Cheers
Domi"	Bug	new	Database layer (models, ORM)	1.10	Normal		mysql, unicode, error		Unreviewed	0	0	0	0	0	0
