How to pass a variable consisting of a url-tag to teamplate in django
In my teamplate i have the next code:
<a class="nav-link" href= {% url 'organisations_add %} >
But i want a name of url-adress to be passsed to teamplate from a view. I tried to do it in a view the next way, but it didnt work:
context['adding_obj'] = format_html('<a class="nav-link" href={} >',
mark_safe("{% url 'organisations_add' %}"),
)