diff --git a/lms/djangoapps/shoppingcart/models.py b/lms/djangoapps/shoppingcart/models.py index d959294774..d52abbccf6 100644 --- a/lms/djangoapps/shoppingcart/models.py +++ b/lms/djangoapps/shoppingcart/models.py @@ -1019,8 +1019,13 @@ class PaidCourseRegistration(OrderItem): Generates instructions when the user has purchased a PaidCourseRegistration. Basically tells the user to visit the dashboard to see their new classes """ - notification = (_('Please visit your dashboard to see your new course.') - .format(dashboard_link=reverse('dashboard'))) + notification = _( + "Please visit your {link_start}dashboard{link_end} " + "to see your new course." + ).format( + link_start=''.format(url=reverse('dashboard')), + link_end='', + ) return self.pk_with_subclass, set([notification])