This snippet is from forms.py:
class TestForm(forms.Form):
Specialist = forms.ModelChoiceField(label = 'Test', queryset = SpecialistModel.objects.all(), empty_label = None)
And this from template:
{{ form.Specialist }}
Field is showing and label is not. Where could be the problem?
You have to show label manually:
or
to show label wrapped in html
<label></label>tag.