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
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
2 matches
Mail list logo