Monday, January 30, 2012

Re: superuser unable to delete an object

On Mon, 2012-01-30 at 12:39 +0530, kenneth gonsalves wrote:
> def has_delete_permission(self, request, obj=None):
> # Same as change permission
> self.has_change_permission(request, obj=obj)
>
> when I login as superuser and try to delete a child object I get a 403
> forbidden error. Any clues?

solved - has_delete_permission is not returning anything.
--
regards
Kenneth Gonsalves

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment