Monday, October 4, 2010

Re: Adding help text to Django admin

Set help_text on the appropriate model field

name = models.CharField(max_length=100, help_text='Current name of band')

Tim.

On 04/10/10 09:46, Sithembewena Lloyd Dube wrote:
> Greetings folks,
>
> I need to add "help text" to a Django admin. Sort of like the text below
> fields in the Django Redirects app. to provide a snippet of information
> about each field.
>
> How can I achieve this?
>
> --
> Regards,
> Sithembewena Lloyd Dube
> http://www.lloyddube.com
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment