app/soc/views/helper/forms.py
changeset 970 8b5611d5b053
parent 866 6c918ceba37a
child 1167 346117bd30cf
equal deleted inserted replaced
969:b12de918d660 970:8b5611d5b053
    44   attribute *can* be added to the property after it is created, but the
    44   attribute *can* be added to the property after it is created, but the
    45   help text will not be automatically passed along to the Django ModelForm.
    45   help text will not be automatically passed along to the Django ModelForm.
    46   This class detects the presence of a help_text attribute and adds it to
    46   This class detects the presence of a help_text attribute and adds it to
    47   the corresponding form field object.
    47   the corresponding form field object.
    48 
    48 
    49   ugettext_lazy() proxies used for internationalization in the Model will
    49   ugettext() proxies used for internationalization in the Model will
    50   still work correctly with this new behavior, as long as the original
    50   still work correctly with this new behavior, as long as the original
    51   strings are used as the translation keys.
    51   strings are used as the translation keys.
    52   """
    52   """
    53 
    53 
    54   def __init__(self, *args, **kwargs):
    54   def __init__(self, *args, **kwargs):