Hi,
I think the problem lies in ModelAdmin.render_change_form. Watch out
the line of 'has_delete_permission'
It reads as..

'has_delete_permission': self.has_delete_permission(request, obj).

It just don't know anything about the 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
this change. But it was marked as 'wontfix' for some unknown reason.

Rajeesh.

On Sep 30, 10:13 pm, patcoll <patc...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to