Wednesday, October 29, 2014

Re: Django model help text into database comment field

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 "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e683d43e-27a2-4a85-a22e-5d10b3df2d2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment