Thanks raj, I'll give that a shot. On Mar 12, 11:11 am, raj <rajeeshrn...@gmail.com> 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 Taylor <btaylordes...@gmail.com> wrote: > > > 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. > > TIA, > > Brandon
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.