From 8161d7c14c30b5bd4ce65be3a670dd4d97d61441 Mon Sep 17 00:00:00 2001 From: Jorge Barata Date: Sat, 13 Oct 2018 23:03:53 +0200 Subject: [PATCH] Fix get_permission_helper_class documentation typo --- CONTRIBUTORS.rst | 1 + docs/reference/contrib/modeladmin/primer.rst | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS.rst b/CONTRIBUTORS.rst index 50a7efe94d..afb6e939fb 100644 --- a/CONTRIBUTORS.rst +++ b/CONTRIBUTORS.rst @@ -321,6 +321,7 @@ Contributors * Ben Dickinson * Meteor0id * Naa Marteki Reed +* Jorge Barata Translators =========== diff --git a/docs/reference/contrib/modeladmin/primer.rst b/docs/reference/contrib/modeladmin/primer.rst index c20a447bb8..1a9b2e8fe2 100644 --- a/docs/reference/contrib/modeladmin/primer.rst +++ b/docs/reference/contrib/modeladmin/primer.rst @@ -339,7 +339,7 @@ isn't possible or doesn't meet your needs, you can override the class MyModelAdmin(ModelAdmin): model = MyModel - def get_get_permission_helper_class(self): + def get_permission_helper_class(self): if self.some_attribute is True: return MyPermissionHelper return PermissionHelper