Hi,
what is the best way to change the max_length of attribute from model? I
want to increase the max_length of help_text from forms.models.Field
I have done a monkey patch and now max_length has the new length.
Field.add_to_class('help_text', models.CharField(_("Help text"),
blank=True, max_length=256))
But in some cases the application crashes. This is the message:
http://dpaste.com/3G368FW
I think the problem is related with the system check of Django.
Performing system checks...
System check identified some issues:
ERRORS:
forms.Field.help_text: (models.E006) The field 'help_text' clashes with the
field 'help_text' from model 'forms.field'.
I have set a exception with:
SILENCED_SYSTEM_CHECKS = ['models.E006']
but the problem is not solved.
--
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.