On 10/31/06, iain duncan <[EMAIL PROTECTED]> wrote:
>
> Hi folks, I would like to add a custom form button to the admin
> interface somehow and am not sure how to go about it.
>
> I want to add a "download now" button the list view for some file
> entries, so it needs to be a link to file. Any idea how this should be
> done?

I'm looking to do something similar: I have an object that I'd like to
synchronize against an external database. Currently I do this with a
special view, but it would be nice to have a button in the admin view
to do this.

Currently the row of buttons is done with a {{ submit_row }} template
tag, and the admin/submit_line.html template. I suppose this template
could be overridden, but that would add the button for every object
type.
-- 
Patriotism means to stand by the country. It does
not mean to stand by the president. -- T. Roosevelt

This message has been scanned for memes and
dangerous content by MindScanner, and is
believed to be unclean.

--~--~---------~--~----~------------~-------~--~----~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to