ModelForm currently does not provide anything like class="required"
on rendered forms where fields are required. This has led me to
create the fields manually in the form and add the style attribute to
the widget. Doing this, I then lose help_text definitions created in
the model.
So I can either provide another help_text argument to the form field,
which violates DRY, or I can provide the
Model._meta.get_field('name').help_text as the value of help_text
which seems extraneous.
Is there another way to deal with this? I was told there was a ticket
to address this on some level, but I could not find it.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---