On 10 Кві, 12:18, "ramu...@gmail.com" wrote:
> If I understand correctly the same problem solve by this code:
>
>
> def colored_name(self):
> return '%s %s' %
> (self.color_code, self.first_name, self.last_name)
> colored_name.allow_tags = True
>
>
> manualhttp://docs.djangoproject.com/en
If I understand correctly the same problem solve by this code:
def colored_name(self):
return '%s %s' %
(self.color_code, self.first_name, self.last_name)
colored_name.allow_tags = True
manual http://docs.djangoproject.com/en/dev/ref/contrib/admin/#list-display
On Apr 9, 8:31 pm, Psiho
good evening guys!
have a question:
in my model i have a field, like
guarantee = models.CharField(_("Link to guarantee"), max_length=250,
blank=True)
to this charfield, on some conditions, i generate some link (f.e.
http://myshop.com/guarantee/47/)
What i want is:
in admin interface of my model, i
3 matches
Mail list logo