Re: Mysql + Unicode + username curiosity

2011-11-14 Thread Tomasz ZieliƄski
You might want to check the documention: https://docs.djangoproject.com/en/1.3/ref/databases/#creating-your-database There seem to be issues like this one: "The main thing to be aware of in this case is that if you are using MySQLdb 1.2.2, the database backend in Django will then return bytestr

Re: Mysql + Unicode + username curiosity

2011-11-14 Thread Kurtis Mullins
Hey, I'm not sure on what the problem is here. I just wanted to let you know that I did the same test on my setup. And it appears to be returning the username as a unicode string. >>> a = User.objects.get(id = 1) >>> a.username u'admin' I don't have any default-character-set option in my my.cnf