Skip to content

Commit

Permalink
Added platform name in email context from configuration helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Haseeb committed Jun 25, 2020
1 parent 03adaae commit 6ca9b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecommerce/notifications/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def send_notification(user, commtype_code, context, site):
context.update({
'full_name': full_name,
'site_domain': site.domain,
'platform_name': site.name,
'platform_name': configuration_helpers.get('PLATFORM_NAME', site.name),
'tracking_pixel': tracking_pixel,
'edly_mailing_address': configuration_helpers.get('CONTACT_MAILING_ADDRESS'),
'edly_copyright_text': configuration_helpers.get('EDLY_COPYRIGHT_TEXT'),
Expand Down

0 comments on commit 6ca9b62

Please sign in to comment.