Fix course url link in enrollment emails.
This commit is contained in:
@@ -1091,7 +1091,7 @@ def _do_enroll_students(course, course_id, students, overload=False, auto_enroll
|
||||
'registration_url': registration_url,
|
||||
'course_id': course_id,
|
||||
'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:
|
||||
|
||||
Reference in New Issue
Block a user