Perhaps you have a foreignkey, Assumption is that person
just like this:( in your models)
def go_person(self):
    return mark_safe(u'<a href="%s">%s</a>' %
(self.person.get_absoulte_url(), label))
go_person.allow_tags = True
go_person.short_description = 'GO_PERSON'

--and in your admin.py:
   list_dispaly = ('go_person', 'other attributes....')

I hope this is what you want!

2011/11/14 Lee <lhughe...@gmail.com>

> This has gotta be easy but I'm not finding a solution in this list or
> snippets: how do I make Admin display foreign keys on change lists as
> links to the related record's change form? The displayed value is
> correct I just need it to be a hyperlink.
>
> Thanks for any help-
>
> Lee
>
> --
> 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.
>
>

-- 
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