From b50c5c453370bffbf16a8720c35a39890e9631e4 Mon Sep 17 00:00:00 2001 From: Julien Bouquillon Date: Fri, 29 Aug 2014 00:03:58 +0200 Subject: [PATCH] fix another ModelAdmin typo --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 52f556f..f24322f 100644 --- a/README.rst +++ b/README.rst @@ -325,7 +325,7 @@ object, you'd have to override the following methods of a model's **Note:** There's also ``has_add_permission(user)`` but is not relevant here. -``rules`` comes with a custom ``ModeAdmin`` subclass, +``rules`` comes with a custom ``ModelAdmin`` subclass, ``rules.contrib.admin.ObjectPermissionsModelAdmin``, that overrides these methods to pass on the edited model instance to the authorization backends, thus enabling permissions per object in the Admin::