Thanks guys, it was staring me in the face but I didn't get it until
the 4th or 5th re-read!

Creating links in the list display with allow_tags is a great feature.

Paddy

On Jan 27, 5:42 pm, Malcolm Tredinnick <malc...@pointy-stick.com>
wrote:
> On Mon, 2009-01-26 at 21:51 -0800, Paddy Joy wrote:
> > The admin interface shows nice green/red icons for BooleanFields. If I
> > have a callable that returns only true or false, is there a way I can
> > make these show in the admin with icons rather than the text
> > 'True'/'False'
>
> > For example I would like the callable 'photo_ad' to show on the list
> > display with icons rather than text.
>
> Alex has already given the answer to this question, but I'd add that
> it's well worth reading (and then re-reading and re-reading) the section
> about list_display and list_display_links in the admin docs ([1]). There
> are lots of interesting possibilities there.
>
> [1]http://docs.djangoproject.com/en/dev/ref/contrib/admin/#list-display
>
> Regards,
> Malcolm
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to