admin: add a __name__ attribute to actions
This commit is contained in:
parent
4a63b9dd68
commit
b63f7a8eff
|
@ -14,6 +14,7 @@ class SendingAction(object):
|
|||
|
||||
def __init__(self, mode):
|
||||
self.mode = mode
|
||||
self.__name__ = mode
|
||||
|
||||
@property
|
||||
def short_description(self):
|
||||
|
|
Reference in New Issue