+ def notify_managers(self, subject, template_name, extra_context=None):
+ context = {
+ 'order': self,
+ 'site': Site.objects.get_current(),
+ }
+ if extra_context:
+ context.update(extra_context)
+ with override(app_settings.DEFAULT_LANGUAGE):
+ mail_managers(subject, render_to_string(template_name, context))
+