These are chat archives for django/django
@iamhssingh Can’t you override
@sp1rs No. I want to have this permission every where in the system (which includes the
RESTful APIs &
Admin Panel). I can use
Filter Backend in
views separately. That is one solution, but I was thinking of some global permission thing.
has_perm(user, obj). Use it to return
filter, each for admin & REST API and use it at both the places in addition to
force_insert=Trueto C.save() and then the deadlocks disappeard. But I don't know if it will cause other side effects.