diff --git a/apps/accounts/notifications.py b/apps/accounts/notifications.py index 20807ba97..4ab56963e 100644 --- a/apps/accounts/notifications.py +++ b/apps/accounts/notifications.py @@ -2,7 +2,6 @@ from django.template.loader import render_to_string from django.utils.translation import gettext_lazy as _ from premailer import transform -from accounts.models import ChangeSecretRecord from common.tasks import send_mail_attachment_async, upload_backup_to_obj_storage from notifications.notifications import UserMessage from terminal.models.component.storage import ReplayStorage @@ -122,8 +121,5 @@ class ChangeSecretReportMsg(UserMessage): @classmethod def gen_test_msg(cls): - name = 'test' user = User.objects.first() - record = ChangeSecretRecord.objects.first() - execution_id = str(record.execution_id) return cls(user, {}) diff --git a/apps/accounts/templates/accounts/backup_account_report.html b/apps/accounts/templates/accounts/backup_account_report.html index 95179770b..5cd2cc3e3 100644 --- a/apps/accounts/templates/accounts/backup_account_report.html +++ b/apps/accounts/templates/accounts/backup_account_report.html @@ -47,10 +47,6 @@ - - \ No newline at end of file + + + \ No newline at end of file diff --git a/apps/accounts/templates/accounts/change_secret_report.html b/apps/accounts/templates/accounts/change_secret_report.html index 17b74f94b..556eae750 100644 --- a/apps/accounts/templates/accounts/change_secret_report.html +++ b/apps/accounts/templates/accounts/change_secret_report.html @@ -1,7 +1,6 @@ {% load i18n %} {% load static %} -