Re: Django model help text into database comment field

2014-10-29 Thread Collin Anderson
Hi Phillipe, You'll likely need to run the SQL to update the comment by hand. You can get the data from your models like this: for field in MyModel._meta.fields: print field.attname, field.help_text Collin -- You received this message because you are subscribed to the Google Groups "Djan

Django model help text into database comment field

2014-10-27 Thread phillipe . cavalcante
Hello I would like to add help_text field value into the related database comment field. Is that possible? MODEL Table field = models.CharField(help_text=u'help text content', max_length=100, unique=False, blank=True, null=True) DATABASE Table field comment = help text content Cheers, Phi