Hi,
Django-newbie needs your help, sorry for the lame question, but I
couldn't find the answer in docs.
I have such a class:
class GalleryAdmin(admin.ModelAdmin):
list_display = ('randomPhoto', '__unicode__', 'photoCount',
'public')
list_display_links = ('randomPhoto', '__unicode__')
in list_display:
- randomPhoto is a callable
- photoCount is a callable
- public is a regular field
I want to change the column headers on the list page for the
callables, to, say 'Example photo' and 'Number of photos'.
Thanks in advance for suggestions.
Regards,
Piotr
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---