Thanks Malcolm, on a lot of different levels.
1st, your code for putting the ratings into a list was very cool. It
provoked a light bulb moment in my brain as I worked my way through
the code. Very cool.
You're right about not being able to do the sum on the ratings, but I
fixed that by changing
On Sun, 2007-10-28 at 01:15 +, Hani wrote:
> Hi,
> A complete and utter newbie seeks help.
>
> I have a model Beer with another model called TastingNotes tied via
> foreign key to the Beer table.
>
>
> models.py
>
> class Beer(models.Model):
> beer=models.CharField(max_length=50, cor
Hi,
A complete and utter newbie seeks help.
I have a model Beer with another model called TastingNotes tied via
foreign key to the Beer table.
models.py
class Beer(models.Model):
beer=models.CharField(max_length=50, core=True)
def __unicode__(self):
return self.
3 matches
Mail list logo