Re: Troubles with unicode in django-trunk

2009-02-09 Thread jfmxl
On Feb 9, 8:22 pm, Karen Tracey wrote: > On Mon, Feb 9, 2009 at 8:07 AM, jfmxl wrote: > > > # Create your models here. > > > class Poll(models.Model): > >    question = models.CharField(max_length=200) > >    pub_date = models.DateTimeField('date published') > > > class Choice(models.Model): > >

Re: Troubles with unicode in django-trunk

2009-02-09 Thread Karen Tracey
On Mon, Feb 9, 2009 at 8:07 AM, jfmxl wrote: > > # Create your models here. > > class Poll(models.Model): >question = models.CharField(max_length=200) >pub_date = models.DateTimeField('date published') > > class Choice(models.Model): >poll = models.ForeignKey(Poll) >choice = model

Re: Troubles with unicode in django-trunk

2009-02-09 Thread jfmxl
On Feb 9, 7:05 pm, Russell Keith-Magee wrote: > On Mon, Feb 9, 2009 at 8:43 PM, jfmxl wrote: > > > On Feb 9, 5:21 pm, Russell Keith-Magee wrote: > >> On Mon, Feb 9, 2009 at 6:58 PM, jfmxl wrote: > > Sorry, I am new to python and I guess you hadn't bothered to read the > > elementary tutorial t

Re: Troubles with unicode in django-trunk

2009-02-09 Thread Russell Keith-Magee
On Mon, Feb 9, 2009 at 8:43 PM, jfmxl wrote: > > On Feb 9, 5:21 pm, Russell Keith-Magee wrote: >> On Mon, Feb 9, 2009 at 6:58 PM, jfmxl wrote: > Sorry, I am new to python and I guess you hadn't bothered to read the > elementary tutorial that I was following. I should have been more > specific:

Re: Troubles with unicode in django-trunk

2009-02-09 Thread jfmxl
On Feb 9, 5:21 pm, Russell Keith-Magee wrote: > On Mon, Feb 9, 2009 at 6:58 PM, jfmxl wrote: > > > Hello, > > > I downloaded the 1.0.2 version of django to my ubuntu 8.10 box and > > began the tutorial. I got as far as adding the unicode print > > definitions for poll and choice, and then saw no

Re: Troubles with unicode in django-trunk

2009-02-09 Thread Russell Keith-Magee
On Mon, Feb 9, 2009 at 6:58 PM, jfmxl wrote: > > Hello, > > I downloaded the 1.0.2 version of django to my ubuntu 8.10 box and > began the tutorial. I got as far as adding the unicode print > definitions for poll and choice, and then saw no difference between > afterward : > > In [2]: Poll.object

Troubles with unicode in django-trunk

2009-02-09 Thread jfmxl
Hello, I downloaded the 1.0.2 version of django to my ubuntu 8.10 box and began the tutorial. I got as far as adding the unicode print definitions for poll and choice, and then saw no difference between afterward : In [2]: Poll.objects.all() Out[2]: [] is still what I saw. So I scrubbed the 1.