django-template-filters

Include with url variable in Django template

Include with url variable in Django template Question: I have a "create new object" button in a template file. I want to include the button in several places at my website, but I want to include the template with a link. I’ve tried: {% include "snippets/icon_add.html" with link="/create_new_item/" only %} But I want to use …

Total answers: 1