Add css classes and html tag attributes to form's label in django templates. This library can render a form label like django-widget-tweaks
The license is MIT.
$ pip install django-label-tag-attr
Then add 'label_tag_attr' to INSTALLED_APPS.
{% load widget_tweaks %}
<label id="{{ form.text.auto_id }}" class="control-label">{{ form.text.label }}</label>
{% render_label form.text class="form-control" %}
render_label
template tag for customizing form's label by using an HTML-like syntax.
{% load label_tag_attr %}
{% load widget_tweaks %}
{% render_label form.text class="control-label" %}
{% render_field form.text class="form-control" %}