1👍
Variables in a template tag are referenced by the identifier, not between double curly brackets ({{ … }}
), so:
<a href="{% url 'editpage' title=title %}">link</a>
You thus were quite close.
Source:stackexchange.com
1👍
Variables in a template tag are referenced by the identifier, not between double curly brackets ({{ … }}
), so:
<a href="{% url 'editpage' title=title %}">link</a>
You thus were quite close.