[EMAIL PROTECTED] wrote:
> Hi
> 
> I know this has been talked about before but I'm having real trouble
> getting a handle on customising template tags
> 
> What i want to do is alter the admin change list screen to show some
> related values. Now the python's easy it's just a couple of lines in
> items_for_results in admin_list.py problem is I only want to do this
> for certain modules in a certain app not for everything
> 
> What's confusing me is where I can put my custom code so that it will
> work, all my attemps so far just kill django without retuning any
> errors
> 
> Please help
> 
> Charlie
> 
> 

If you want to customise the changelist, your best bet is to subclass
the ChangeList class.

If the template tags are doing 'too much', they should probably be
changed to delegate more to the ChangeList class.

Reply via email to