mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-23 14:25:50 +00:00
Fix get_permission_helper_class documentation typo
This commit is contained in:
parent
5f3458842b
commit
8161d7c14c
2 changed files with 2 additions and 1 deletions
|
|
@ -321,6 +321,7 @@ Contributors
|
|||
* Ben Dickinson
|
||||
* Meteor0id
|
||||
* Naa Marteki Reed
|
||||
* Jorge Barata
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue