How do I add custom labels to my formset?
<form method="post" action="">
{{ formset.management_form }}
{% for form in formset %}
{% for field in form %}
{{ field.label_tag }}: {{ field }}
{% endfor %}
{% endfor %}
</form>
My model is:
class Sing(models.Model):
song = models.CharField(max_length = 50)
band = models.CharField(max_length = 50)
Now in the template instead of the field label being 'song'
, how do i set it so that it shows up as 'What song are you going to sing?'
?