Right you are Daniel, works like a charm, thank you!
/L
Daniel Roseman wrote:
> On Nov 25, 4:50 pm, Lars Stavholm <[EMAIL PROTECTED]> wrote:
>> I'm trying to influence one of the admin interface change list
>> fields by using the below get_progress() method in list_display,
>> and using mark_safe
On Nov 25, 4:50 pm, Lars Stavholm <[EMAIL PROTECTED]> wrote:
> I'm trying to influence one of the admin interface change list
> fields by using the below get_progress() method in list_display,
> and using mark_safe().
>
> However, I can't get this to work:
>
> class Job(models.Model):
> progr
I'm trying to influence one of the admin interface change list
fields by using the below get_progress() method in list_display,
and using mark_safe().
However, I can't get this to work:
class Job(models.Model):
progress = models.PositiveSmallIntegerField()
def get_progress(self):
3 matches
Mail list logo