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):
> >
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
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
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:
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
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
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.
7 matches
Mail list logo