mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-12 01:03:11 +00:00
VERDANTADMIN_NOTIFICATION_FROM_EMAIL -> WAGTAILADMIN_NOTIFICATION_FROM_EMAIL
This commit is contained in:
parent
72cc52c227
commit
b49bf4306d
1 changed files with 2 additions and 2 deletions
|
|
@ -57,8 +57,8 @@ def send_notification(page_revision_id, notification, excluded_user_id):
|
|||
email_content = '\n'.join(rendered_template[1:])
|
||||
|
||||
# Get from email
|
||||
if hasattr(settings, 'VERDANTADMIN_NOTIFICATION_FROM_EMAIL'):
|
||||
from_email = settings.VERDANTADMIN_NOTIFICATION_FROM_EMAIL
|
||||
if hasattr(settings, 'WAGTAILADMIN_NOTIFICATION_FROM_EMAIL'):
|
||||
from_email = settings.WAGTAILADMIN_NOTIFICATION_FROM_EMAIL
|
||||
elif hasattr(settings, 'DEFAULT_FROM_EMAIL'):
|
||||
from_email = settings.DEFAULT_FROM_EMAIL
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue