Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • I already use the ObjectPermissionsModelAdmin, but as said the object passed is always None. (Otherwise the predicate would not be called at all)
    – Tigerware
    Commented Oct 10, 2018 at 6:58
  • Please compare your setup with testapp in django-rules repo github.com/dfunckt/django-rules/blob/master/tests/testapp/… I'm inspecting the tests that use predicate and i can see book being passed correctly Commented Oct 10, 2018 at 8:34