Re: Blog entry with multiple categories

2009-06-08 Thread Tomasz Zieliński
On 8 Cze, 17:31, grimmus wrote: > Hi, > > I have a simple blog application > > I would like to be able to create a post and assign it to multiple > categories > >     category = models.ForeignKey(BlogCategory) ForeignKey allows you to assign post only to one category, I think you need to use

Blog entry with multiple categories

2009-06-08 Thread grimmus
Hi, I have a simple blog application I would like to be able to create a post and assign it to multiple categories Currently my model looks like below. I was thinking i could render the categories in the admin as checkboxes and then check multiple ones, if required, but i am not really sure how