format
This commit is contained in:
parent
d87f2b17ed
commit
9ec8caa9b6
@ -42,7 +42,6 @@ class AuditEvent(Base, TimestampsMixin):
|
|||||||
|
|
||||||
return " ".join([user_str, action_str, display_name_str, scope_str])
|
return " ".join([user_str, action_str, display_name_str, scope_str])
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def activity_description(self):
|
def activity_description(self):
|
||||||
action_str = "{} on {} {}".format(
|
action_str = "{} on {} {}".format(
|
||||||
@ -57,7 +56,6 @@ class AuditEvent(Base, TimestampsMixin):
|
|||||||
|
|
||||||
return " ".join([action_str, display_name_str, scope_str])
|
return " ".join([action_str, display_name_str, scope_str])
|
||||||
|
|
||||||
|
|
||||||
def save(self, connection):
|
def save(self, connection):
|
||||||
attrs = inspect(self).dict
|
attrs = inspect(self).dict
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user