audit_log: Record RealmAuditLog in do_change_icon_source.

Removed logging with  log_event and used RealmAuditLog instead.
Added tests in test_audit_log for the same.
This commit is contained in:
arpit551
2020-07-12 00:29:52 +05:30
committed by Tim Abbott
parent 12a19b0ff1
commit e6f54a3278
5 changed files with 28 additions and 8 deletions

View File

@@ -2720,6 +2720,7 @@ class AbstractRealmAuditLog(models.Model):
REALM_LOGO_CHANGED = 205
REALM_EXPORTED = 206
REALM_PROPERTY_CHANGED = 207
REALM_ICON_SOURCE_CHANGED = 208
SUBSCRIPTION_CREATED = 301
SUBSCRIPTION_ACTIVATED = 302