1👍
You have basically two alternatives, and both of involve the use of javascript.
You either:
- need to preload all content at the initial page render, if the content is small and simple, and then use javascript on the drop-down to display the appropriate parts of it.
- or to fetch the content with ajax requests depending on the value of the drop-down and render it when it loads.
Neither of the above the use of a model if the drop-down is for display filter only, and no storing is required. You could achieve the same with a simple django form or plain HTML.
Source:stackexchange.com