Hi all,

Now I am trying to do a simple admin customization:

I have a model called 'host', and I have a corresponding admin class
called hostAdmin and got registered.

I put some fields of the 'host' model into the list_display of
hostAdmin so that we can get it shown in the

admin site. And it is an easy and common way to get fields shown.

The question is that I want to show a little more: an extra column
with links in each row. Each link is related

to one field of the model. For example, the 'host' model has a field
called 'id' and one value of it is '1090'

so I hope the link would be http://www.somesite.com/admin/?q=1090.

Should I extend some admin templates to do this? Or what should I do?

Any help is appreciated :)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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