Re: question about list_display

2007-11-21 Thread RajeshD
> > It is about how to use color in list_display. > When i use it, I didn't correctly get the colored field of > first_name. > Only get strings like '%s' in this > field. > Is there anything I misunderstand to make it work correctly? Your use of "allow_tags" looks good. A recent release of Djan

question about list_display

2007-11-20 Thread Lucemia
hello every one: I have a simple question about list_display feature of Django's admin site http://www.djangoproject.com/documentation/model-api/#admin-options class Person(models.Model): first_name = models.CharField(max_length=50) color_code = models.CharField(max_len