My primary navigation consists of news categories, which belong to the Category model. I hardcoded the nav in templates/base.html
but want to make it dynamic...
Is it a bad idea to embed model code in my template? If so how should I pull them? Should I make the nav file separate? And not only will I just rely on the categories, but I also will need a 'home' link, and some other links as well.
If possible it would be great if I could make a new Navigation model but I'm not sure how I would be able to include news categories from the category table so they could also be items in the nav.