2010/1/21 iasybvm
> I have created an object Location:
> class Location(models.Model):
>city = models.CharField(max_length=50)
>state = models.CharField(max_length=50)
>...
>
I think you've left out a key bit here. The traceback you include shows the
problem
I have created an object Location:
class Location(models.Model):
city = models.CharField(max_length=50)
state = models.CharField(max_length=50)
...
But I can't initialize it with either unicode data or utf-8 data. I
created a record by hand in my postgresql database. I can now read it
2 matches
Mail list logo