On Wed, Jun 10, 2009 at 9:35 PM, ssc wrote:
>
> [...]
>
> class Story(models.Model):
> # fields like headline, content, etc. not shown here
> # Google groups seems to word-wrap at 75 characters...
> classifications = models.ManyToManyField(Classification, \
>
> through="StoryPublishDate")
Hello,
we publish stories on our website. Every story belongs to one or more
classification (i.e. category), e.g. Travel, Food, Family (and of
course the mighty important Hot Gossip ;-). A story can be published
multiple times, possibly in different classifications.
The relevant bits of the mode
2 matches
Mail list logo