I was just taking a look at forms/forms.py and noticed the lines:
if field.required and not field.help_text:
               field_args["help_text"] = _("required")

I'm wondering why this is in forms.py and not handled by the template? If I 
want my forms to indicate "required" in a different way (e.g. a red 
asterisk), I need to check the help-text in the template, and hide it if it 
equals "required". But then, if my user explicitly enters "required" as 
their help text, this would be filtered out.

Just wondering the reasoning behind putting this logic here, and if maybe 
it should be moved to the template.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to