How to add legend in django form

I am trying to add legend to the form field in my django project. But facing some issues unable to add the legend. Any kind of help will be appreciated.

class MyForm3(ModelForm):
    class Meta:
        model = import
        fields = ['date_of_request',
                  'Required_doc',-------------- This should be the legend

class import(models.Model):

    date_of_request = models.DateField()
    Number_of_units = models.IntegerField()
    Date_of_shipment = models.IntegerField()
    Required_doc = models.CharField(max_length=200)---------- This should be the legend
    doc1 = models.BooleanField()
    doc2 = models.BooleanField()
Back to Top