Re: Newbee stumped again - admin pages doing exactly what they should, but not what I need

2010-03-05 Thread Atamert Ölçgen
On Saturday 06 March 2010 06:07:30 dogfuel wrote: > most of you probably know this will not give the desired result - it > shows the correct test, but not as a hyperlink. Moving the method to ModelAdmin and setting `allow_tags` True on it should solve this problem: class

Newbee stumped again - admin pages doing exactly what they should, but not what I need

2010-03-05 Thread dogfuel
In a model, I have added a method that builds text for a html link (based on model attributes) similar to: - from django.db import models class Destination(models.Model) name = models.CharField(max_length=25) location_nbr = models.CharField(max_length=4)