Fix logic and migration

This commit is contained in:
Rebecca Hsieh 2024-06-14 12:35:08 -07:00
parent ddce50a471
commit dd36bb6df4
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# Generated by Django 4.2.10 on 2024-06-13 13:54
# Generated by Django 4.2.10 on 2024-06-14 19:26
from django.db import migrations, models

View file

@ -688,6 +688,7 @@ class Domain(TimeStampedModel, DomainHelper):
registry.send(addRequest, cleaned=True)
dsdata_change_log = f"{user_email} added a DS data record"
if deleted_record:
registry.send(remRequest, cleaned=True)
if dsdata_change_log != "": # if they add and remove a record at same time
dsdata_change_log = f"{user_email} added and deleted a DS data record"
else: