Hello!
I have a very specific problem.
I wrote a special template tag to display some peace of HTML code based on some calculations. Tag call looks like this:
{% chord 'A' %}
And the output generated is
<div class="chord">A <audio src="/media/chords/A/A.mp3" controls>Not supported</audio></div>
Everything works fine, but I came to stage where I need to put this output inside a variable in my view, not in a template. Is it somehow possible? Is there a method, that I can call from inside a view, to get custom tag output with a given parameter?