Import CMS code using fully qualified module names
or, using proper the proper Python 3 relative imports (e.g., 'from .views import x') which are standard and unambiguous.
This commit is contained in:
committed by
Kyle McCormick
parent
7538691484
commit
538dbf696b
@@ -10,10 +10,10 @@ from hashlib import sha1
|
||||
import six
|
||||
from eventtracking import tracker
|
||||
|
||||
from contentstore.signals.signals import GRADING_POLICY_CHANGED
|
||||
from cms.djangoapps.contentstore.signals.signals import GRADING_POLICY_CHANGED
|
||||
from track.event_transaction_utils import create_new_event_transaction_id
|
||||
from xmodule.modulestore.django import modulestore
|
||||
from models.settings.waffle import material_recompute_only
|
||||
from cms.djangoapps.models.settings.waffle import material_recompute_only
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user