Re: How to include parent name in list of children?

2009-05-27 Thread adelaide_mike
Thank you Tom and Daniel. Starting to see some light here. Mike On May 28, 1:25 am, Daniel Roseman wrote: > On May 27, 2:59 pm, Tom Evans wrote: > > > > > On Wed, 2009-05-27 at 06:27 -0700, adelaide_mike wrote: > > > Very beginner

Re: How to include parent name in list of children?

2009-05-27 Thread Daniel Roseman
On May 27, 2:59 pm, Tom Evans wrote: > On Wed, 2009-05-27 at 06:27 -0700, adelaide_mike wrote: > > Very beginner here. > > > My model has two classes, Suburb, the parent, and Street, the child: > > > class      Suburb(models.Model): > >            suburb_name =

Re: How to include parent name in list of children?

2009-05-27 Thread Tom Evans
On Wed, 2009-05-27 at 06:27 -0700, adelaide_mike wrote: > Very beginner here. > > My model has two classes, Suburb, the parent, and Street, the child: > > class Suburb(models.Model): > suburb_name = models.CharField(max_length=72) > postcode =

How to include parent name in list of children?

2009-05-27 Thread adelaide_mike
Very beginner here. My model has two classes, Suburb, the parent, and Street, the child: class Suburb(models.Model): suburb_name = models.CharField(max_length=72) postcode = models.CharField(max_length=4) def __unicode__(self):