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
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
> 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
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
4 matches
Mail list logo