Re: Print view

2008-01-08 Thread James Bennett
On Jan 8, 2008 6:27 PM, Jeff Anderson <[EMAIL PROTECTED]> wrote: > The only way I know to accomplish this is to modify the admin template, > and display a link based on the name of the model, as determined by the > template logic. > Is this the best way to do this? or is there a cleaner way? Thin

Re: Print view

2008-01-08 Thread Jeff Anderson
be the URL for this object. Thats a good idea, and I would do that, but the print view isn't the url for the model. It is an admin-only view. Normal users will be able to see what get_absolute_url() should return. The template fix is my next best solution. I guess one way to do it would be to

Re: Print view

2008-01-08 Thread Tim Chase
> I have a view that will generate a pdf based on one of my objects. > I'd like to have a link to this view from the admin interface. > The only way I know to accomplish this is to modify the admin template, > and display a link based on the name of the model, as determined by the > template log

Print view

2008-01-08 Thread Jeff Anderson
I have a view that will generate a pdf based on one of my objects. I'd like to have a link to this view from the admin interface. The only way I know to accomplish this is to modify the admin template, and display a link based on the name of the model, as determined by the template logic. Is th