On Aug 20, 4:05 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> Also most of these settings in DATABASE_OPTIONS are unnecessary. The only
> one that you really need if it is not your database default storage engine
> is "SET storage_engine=InnoDB".
I've eliminate DATABASE_OPTIONS and this solve
I've tested the application with sqlite instead of mysql and I've no
problems.
The mysql table that syncdb generate is (the mysql dump):
DROP TABLE IF EXISTS `demo_mymodel`;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `demo_mymodel` (
`id` i
On Aug 20, 4:05 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
>
> Have you defined a __unicode__ method for your model? If yes, what does it
> look like? Also are you using a binary collation?
>
Yes, the code:
class Mymodel(models.Model):
name = models.CharField(_('name'), max_length=50
On Wed, Aug 20, 2008 at 3:31 AM, anonymous <[EMAIL PROTECTED]> wrote:
>
> Hello all,
>
> I get the following error:
>
> In [2]: from myapp.models import *
>
> In [3]: Mymodel.objects.all()
> Out[3]:
> ---
> UnicodeDecodeE
Hello all,
I get the following error:
In [2]: from myapp.models import *
In [3]: Mymodel.objects.all()
Out[3]:
---
UnicodeDecodeErrorTraceback (most recent call
last)
/home/user/myproject/ in ()
5 matches
Mail list logo