On 10 Кві, 12:18, "ramu...@gmail.com" <ramu...@gmail.com> wrote:
> If I understand correctly the same problem solve by this code:
>
> <code>
> def colored_name(self):
>     return '<span style="color: #%s;">%s %s</span>' %
> (self.color_code, self.first_name, self.last_name)
> colored_name.allow_tags = True
> </code>
>
> manualhttp://docs.djangoproject.com/en/dev/ref/contrib/admin/#list-display
>
> On Apr 9, 8:31 pm,Psihonavt<psihon...@gmail.com> wrote:
>

forget to answer, but it works! thnx
--~--~---------~--~----~------------~-------~--~----~
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