Le samedi 23 mars 2013 12:16:15 UTC+1, Evgeny a écrit : > > Hi. > > Is it necessary to cast help_text to string in Field.__init__ there > https://github.com/django/django/blob/master/django/forms/fields.py#L92 ? > I will be eventually displayed as string in template, and will be casted > there. I think it would be better design - cast string type only in last > moment in presentation template. > > I am asking because i try to display in template two help texts one to the > right from the field and one to the bottom, and to do that i tried to pass > in help_text tuple of two strings but failed because of that cast. >
It seems to me that it is an "historic" remainder. I suggest you remove the offending lines, run the entire test suite, and if you don't get any errors, open a ticket suggesting the removal. Claude -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
