Re: hiding the delete button

2009-09-30 Thread patcoll
show_delete'. > Change the above line to .. > > 'has_delete_permission': context.get('show_delete',True) and > self.has_delete_permission(request, obj). > > I hope this should solve the problem. I'd opened a ticket re

Re: hiding the delete button

2009-09-30 Thread patcoll
context variable 'show_delete'. > Change the above line to .. > > 'has_delete_permission': context.get('show_delete',True) and > self.has_delete_permission(request, obj). > > I hope this should solve the problem. I'd opened a ticket requesting >

hiding the delete button

2009-09-30 Thread patcoll
In the "admin/submit_line.html" template I can see options such as "show_delete_link", etc but cannot for the life of me figure out a programmatic way to set these values to False. Ideally, I would only like to display the "Save" button. (I realize I could override the "change_form" template for