Thanks raj, I'll give that a shot.
On Mar 12, 11:11 am, raj wrote:
> If you want to impose the restriction only upon delete through admin
> interface, try to override modelAdmin's has_delete_permission()
> method. Or else, model.delete().
>
> On Mar 12, 8:37 pm, Brandon
If you want to impose the restriction only upon delete through admin
interface, try to override modelAdmin's has_delete_permission()
method. Or else, model.delete().
On Mar 12, 8:37 pm, Brandon Taylor wrote:
> I need to add a custom permission to only allow deletes on
Hi Everyone,
I need to add a custom permission to only allow deletes on an object
if it has a certain property and the user is in a specific group, and
I need it to work in Django admin.
Possible? I was thinking I might just override the template and remove
the delete link, but permissions seems
3 matches
Mail list logo