Commit f5225495 by Jonathan Piacenti

acceptance-rebase-20140926: Load internationalization of CourseMode lazily.

Fixes broken test running, since non-lazy evaluation creates an importError.
parent 5573d02d
...@@ -6,7 +6,7 @@ from datetime import datetime ...@@ -6,7 +6,7 @@ from datetime import datetime
from django.db import models from django.db import models
from collections import namedtuple from collections import namedtuple
from django.utils.translation import ugettext as _ from django.utils.translation import ugettext_lazy as _
from django.db.models import Q from django.db.models import Q
from xmodule_django.models import CourseKeyField from xmodule_django.models import CourseKeyField
......
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