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
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
2 matches
Mail list logo