Having thought about this myself and done some more research, a better
question is: is there a way of getting extra args through to a
list_display callable? Having stared at the code in template_tags/
admin_list.py it would appear that there is no facility for getting
extra args through to these callables, or maybe I am looking in the
wrong place.

Paul Hide

On Sep 26, 12:53 pm, paulh <paul.h...@gmail.com> wrote:
> Using the admin list_display and a callable with its allow_tags
> property set to True you can plant a link for each object on the
> changle_list display page of the admin. Is there some way of making
> this link dynamic without having to extend the
> ModelAdmin.changelist_view and its associated template?
>
> The idea is to use the admin search and associated paged object
> display for selecting an object and then using the object in a variety
> of contexts, the context being set by the particular link that was
> planted.
>
> Someone seemed to be asking a question rather like this in the users
> group not long ago and the reply seemed to be connected with reverse
> urls, but maybe I misinterpreted this.
>
> Paul Hide
--~--~---------~--~----~------------~-------~--~----~
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