Answer the question
In order to leave comments, you need to log in
How do you make menus in django?
Good day.
The screenshot shows the usual menu from sites, of which there are thousands. In this case, categories for news are displayed, which is below.
How is it customary in django to implement such a menu? From simple options I see: to transfer along with the context to each view. This approach seems wrong. Can I do it somehow through my own template tags? What approach is practiced in production?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question