🐛(demo) fix missing support_email field

"support_email" field was missing for all domains created in demo.
this lead to "make demo" and "setup_dimail_db" commands to fail.
This commit is contained in:
Marie PUPO JEAMMET
2025-03-27 17:41:47 +01:00
committed by Marie
parent 8cbedeb76e
commit 4420bab073

View File

@@ -272,6 +272,7 @@ def create_demo(stdout): # pylint: disable=too-many-locals
# slug should be automatic but bulk_create doesn't use save
slug=slugify(name),
status=random.choice(MailDomainStatusChoices.values),
support_email="support@example.com",
)
)
queue.flush()