You need to set Form.required_css_class
https://docs.djangoproject.com/en/1.8/ref/forms/api/#styling-required-or-erroneous-form-rows
On Fri, Apr 24, 2015 at 2:30 PM, victor menezes
wrote:
> Hi all,
>
> I'm using Django 1.8 and having trouble to because my form does not generate
> fields with req
Hi all,
I'm using Django 1.8 and having trouble to because my form does not
generate fields with required option even though they have the property
"blank=False" in the model.
In the example bellow, shouldn't the field "description" have the
"required" attribute in the html generated using "for
2 matches
Mail list logo