Re: list_display: How to change the label for each field

2006-07-24 Thread [EMAIL PROTECTED]
Thanks guys for your reply. Both of your replies answer my question perfectly. Regards, -Alen --~--~-~--~~~---~--~~ 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@

Re: list_display: How to change the label for each field

2006-07-24 Thread Martin Robinsson
Hi Alen Kilian showed how you can change the displayed name of your models. If in addition you want to specify how your fields are displayed please see: http://www.djangoproject.com/documentation/model_api/#verbose-field-names Martin --~--~-~--~~~---~--~~ You rec

Re: list_display: How to change the label for each field

2006-07-24 Thread Kilian CAVALOTTI
On Monday 24 July 2006 11:02, [EMAIL PROTECTED] wrote: > Hi, > > How can one change the label for each field, defined in list_display, > that is to be displayed in the admin page? I have seen the Tutorial02 > that show how to use the was_published_today.short_description="...". > How does one do t

list_display: How to change the label for each field

2006-07-24 Thread [EMAIL PROTECTED]
Hi, How can one change the label for each field, defined in list_display, that is to be displayed in the admin page? I have seen the Tutorial02 that show how to use the was_published_today.short_description="...". How does one do the same for the class variables? Regards, -Alen --~--~-