I'd like to use an {% include page.html %} tag in my Django template, and construct the value of page.html dynamically.

Is there any way to do this in Django?

Here's a pseudocode example:

{% include page_{{mode}}.html %}

Thanks!

Edit
Report