Commit 738ba153 by dcadams

Fix course url link in enrollment emails.

parent 96d71494
...@@ -1091,7 +1091,7 @@ def _do_enroll_students(course, course_id, students, overload=False, auto_enroll ...@@ -1091,7 +1091,7 @@ def _do_enroll_students(course, course_id, students, overload=False, auto_enroll
'registration_url': registration_url, 'registration_url': registration_url,
'course_id': course_id, 'course_id': course_id,
'auto_enroll': auto_enroll, 'auto_enroll': auto_enroll,
'course_url': registration_url + '/courses/' + course_id, 'course_url': 'https://' + settings.SITE_NAME + '/courses/' + course_id,
} }
for student in new_students: for student in new_students:
......
Markdown is supported
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