I've this piece of code:
{% for a in doctor.treatment.all %}
<p> {{a}} </p>
{% endfor %}
It gives me the output like this:
Teeth Whitening
Braces
Veneers
Is there anyway I can get it like this in the templates in one line with commas?
Teeth Whitening, Braces, Veneers.