Skip to content
Snippets Groups Projects
Unverified Commit 490a62c4 authored by Zainab Amir's avatar Zainab Amir Committed by GitHub
Browse files

Merge pull request #20180 from edx/zamir/LEARNER_5408_get_current_site_object

LEARNER-5408 Get current site by ID
parents 07696ef5 2471c12c
Branches
Tags
No related merge requests found
......@@ -144,7 +144,7 @@ def send_verification_expiry_email(batch_verifications, dry_run=False):
)
return
site = Site.objects.get(name=settings.SITE_NAME)
site = Site.objects.get_current()
message_context = get_base_template_context(site)
message_context.update({
'platform_name': settings.PLATFORM_NAME,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment