admin: add a __name__ attribute to actions

This commit is contained in:
Benjamin Dauvergne 2013-06-26 10:57:24 +02:00
parent 4a63b9dd68
commit b63f7a8eff
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ class SendingAction(object):
def __init__(self, mode):
self.mode = mode
self.__name__ = mode
@property
def short_description(self):