I'm trying to override the widget used in the changelist page for one
field of a model.
The field is updated by an external daemon and is defined as:
ping_status = models.CharField(blank=True, max_length=1, editable=False)
The field will contains one letter:
G = OK, R = KO, O = Suspect

I created and image corresponding to each letter (G => green.png etc)
because I want the image be displayed in the changelist page instead
of the letter.

Can anybody tell me which method in ModelAdmin to override to have a
hook to chang the used widget?

-- 
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.

Reply via email to